mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 18:47:57 -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:
@@ -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