diff --git a/src/Microsoft.SqlTools.ServiceLayer/Migration/Contracts/MigrationAssessmentInfo.cs b/src/Microsoft.SqlTools.ServiceLayer/Migration/Contracts/MigrationAssessmentInfo.cs index 894120ab..48032a19 100644 --- a/src/Microsoft.SqlTools.ServiceLayer/Migration/Contracts/MigrationAssessmentInfo.cs +++ b/src/Microsoft.SqlTools.ServiceLayer/Migration/Contracts/MigrationAssessmentInfo.cs @@ -38,6 +38,11 @@ namespace Microsoft.SqlTools.ServiceLayer.Migration.Contracts /// public string DatabaseName { get; set; } + /// + /// Gets or sets the server name. + /// + public string ServerName { get; set; } + /// /// Gets or sets check's ID. /// diff --git a/src/Microsoft.SqlTools.ServiceLayer/Migration/MigrationService.cs b/src/Microsoft.SqlTools.ServiceLayer/Migration/MigrationService.cs index 068a64dc..b9211266 100644 --- a/src/Microsoft.SqlTools.ServiceLayer/Migration/MigrationService.cs +++ b/src/Microsoft.SqlTools.ServiceLayer/Migration/MigrationService.cs @@ -203,6 +203,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Migration Level = r.Check.Level.ToString(), TargetName = targetName, DatabaseName = migrationResult.DatabaseName, + ServerName = migrationResult.ServerName, Tags = r.Check.Tags.ToArray(), TargetType = target.Type, RulesetName = Engine.Configuration.DefaultRuleset.Name,