Export (0) Print
Expand All

Information.PhysicalMemory Property


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

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

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Expensive | SfcPropertyFlags.Standalone)]
public int PhysicalMemory { get; }

Property Value

Type: System.Int32

An Int32 value that specifies the total RAM installed in MB.

Return to top
© 2016 Microsoft