mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 01:25:40 -05:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user