added restore errors to resx (#407)

* added restore errors to resx

* including the restore error messages in the result

* added more error handling and tests
This commit is contained in:
Leila Lali
2017-07-12 10:20:47 -07:00
committed by GitHub
parent 11097f9cc5
commit 64e671ca2a
10 changed files with 233 additions and 36 deletions

View File

@@ -3301,6 +3301,54 @@ namespace Microsoft.SqlTools.ServiceLayer
}
}
public static string ConflictWithNoRecovery
{
get
{
return Keys.GetString(Keys.ConflictWithNoRecovery);
}
}
public static string InvalidPathForDatabaseFile
{
get
{
return Keys.GetString(Keys.InvalidPathForDatabaseFile);
}
}
public static string Log
{
get
{
return Keys.GetString(Keys.Log);
}
}
public static string RestorePlanFailed
{
get
{
return Keys.GetString(Keys.RestorePlanFailed);
}
}
public static string RestoreNotSupported
{
get
{
return Keys.GetString(Keys.RestoreNotSupported);
}
}
public static string RestoreTaskName
{
get
{
return Keys.GetString(Keys.RestoreTaskName);
}
}
public static string ConnectionServiceListDbErrorNotConnected(string uri)
{
return Keys.GetString(Keys.ConnectionServiceListDbErrorNotConnected, uri);
@@ -4648,6 +4696,24 @@ namespace Microsoft.SqlTools.ServiceLayer
public const string Task_Completed = "Task_Completed";
public const string ConflictWithNoRecovery = "ConflictWithNoRecovery";
public const string InvalidPathForDatabaseFile = "InvalidPathForDatabaseFile";
public const string Log = "Log";
public const string RestorePlanFailed = "RestorePlanFailed";
public const string RestoreNotSupported = "RestoreNotSupported";
public const string RestoreTaskName = "RestoreTaskName";
private Keys()
{ }