// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // #nullable disable using Microsoft.SqlTools.Hosting.Protocol.Contracts; namespace Microsoft.SqlTools.ServiceLayer.Migration.Contracts { /// /// Parameters for the certificate migration progress event /// public class CertificateMigrationProgressParams { /// /// Database name /// public string Name { get; set; } /// /// Message related to the success status. true should describe a positive outcome. false should have an error. /// public string Message { get; set; } /// /// Result of migration /// public bool Success { get; set; } } /// /// Create a certificate migration request. This should be register at the client. /// public class CertificateMigrationProgressEvent { /// /// Name and parameters for the event definition. /// public static readonly EventType Type = EventType.Create("migration/tdemigrationprogress"); } }