mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-12 19:18:33 -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:
@@ -67,6 +67,16 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.Contracts
|
||||
/// </summary>
|
||||
public string MachineName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The CPU count of the host running the server.
|
||||
/// </summary>
|
||||
public int CpuCount;
|
||||
|
||||
/// <summary>
|
||||
/// The physical memory of the host running the server in MBs.
|
||||
/// </summary>
|
||||
public int PhysicalMemoryInMB;
|
||||
|
||||
/// <summary>
|
||||
/// Server options
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user