IServerInformation.PhysicalMemory Property

 

Gets the total RAM installed, in MB, for the computer that is running the instance of SQL Server.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

[DisplayNameKeyAttribute("Server_PhysicalMemoryName")]
[DisplayDescriptionKeyAttribute("Server_PhysicalMemoryDesc")]
int PhysicalMemory { get; }

Property Value

Type: System.Int32

The total RAM installed.

Return to top
Show: