mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-06 01:25:43 -05:00
Added status code for TDE result (#1975)
This PR updates TDE NuGet and makes code changes to support the introduction of "StatusCode" being returned from NuGet.
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
<PackageReference Update="Microsoft.SqlServer.Migration.Assessment" Version="1.0.20230301.46" />
|
||||
<PackageReference Update="Microsoft.SqlServer.Migration.Logins" Version="1.0.20230302.47" />
|
||||
<PackageReference Update="Microsoft.SqlServer.Management.SqlParser" Version="170.7.0" />
|
||||
<PackageReference Update="Microsoft.SqlServer.Migration.Tde" Version="1.0.20230119.40" />
|
||||
<PackageReference Update="Microsoft.SqlServer.Migration.Tde" Version="1.0.20230403.55" />
|
||||
<PackageReference Update="Microsoft.Azure.OperationalInsights" Version="1.0.0" />
|
||||
<PackageReference Update="Microsoft.CodeAnalysis.CSharp" Version="3.10.0" />
|
||||
<PackageReference Update="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="3.10.0" />
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -25,9 +25,14 @@ namespace Microsoft.SqlTools.Migration.Contracts
|
||||
public string Message { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Result of migration
|
||||
/// Result of migration.
|
||||
/// </summary>
|
||||
public bool Success { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Status code returned by migration.
|
||||
/// </summary>
|
||||
public string StatusCode { get; set; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -93,9 +93,14 @@ namespace Microsoft.SqlTools.Migration.Contracts
|
||||
public bool Success { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Description of the success status or the error message encountered when the migration was not successful
|
||||
/// Description of the success status or the error message encountered when the migration was not successful.
|
||||
/// </summary>
|
||||
public string Message { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Status code returned by migration.
|
||||
/// </summary>
|
||||
public string StatusCode { get; set; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -965,7 +965,8 @@ namespace Microsoft.SqlTools.Migration
|
||||
{
|
||||
Name = dbName,
|
||||
Success = migrationResult.Success,
|
||||
Message = migrationResult.Message
|
||||
Message = migrationResult.Message,
|
||||
StatusCode = migrationResult.StatusCode
|
||||
};
|
||||
await requestContext.SendEvent(CertificateMigrationProgressEvent.Type, eventData);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user