mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-13 17:23:02 -05:00
Added Server Name (#1176)
* added DatabaseName field * added servername
This commit is contained in:
@@ -38,6 +38,11 @@ namespace Microsoft.SqlTools.ServiceLayer.Migration.Contracts
|
||||
/// </summary>
|
||||
public string DatabaseName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the server name.
|
||||
/// </summary>
|
||||
public string ServerName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets check's ID.
|
||||
/// </summary>
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user