Adding cpu count and ram size to server info (#1220)

* adding network file validator contract

* Adding additional properties to serverInfo

* Renaming to serversysinfo

* fixing var name

* Changed to smo to get the properties

* Fixing casting error

* renaming to sysinfo

* Removing unused sql scripts

* Throwing an error and renaming classes

* Changing Physicalmemory prop name from kb to mb

* pushing prop name change

* fixing comment
This commit is contained in:
Aasim Khan
2021-07-13 12:57:53 -07:00
committed by GitHub
parent 1f7da97e6c
commit 539e47b40f
3 changed files with 50 additions and 4 deletions

View File

@@ -471,7 +471,9 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection
AzureVersion = serverInfo.AzureVersion,
OsVersion = serverInfo.OsVersion,
MachineName = serverInfo.MachineName,
Options = serverInfo.Options,
CpuCount = serverInfo.CpuCount,
PhysicalMemoryInMB = serverInfo.PhysicalMemoryInMB,
Options = serverInfo.Options
};
connectionInfo.IsCloud = serverInfo.IsCloud;
connectionInfo.MajorVersion = serverInfo.ServerMajorVersion;