The PhysicalMemory property returns the total RAM installed, in megabytes, on the computer running Microsoft® SQL Server™.
object.PhysicalMemory
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
The PhysicalMemory value does not include swap space allocated by the operating system.
Long
Read-only
HRESULT GetPhysicalMemory(LPLONG pRetVal);