PhysicalMemory Property

SQL-DMO

SQL-DMO

PhysicalMemory Property

The PhysicalMemory property returns the total RAM installed, in megabytes, on an instance of Microsoft® SQL Server™ 2000.

Applies To
Registry Object
Syntax

object.PhysicalMemory

Parts

object

Expression that evaluates to an object in the Applies To list

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetPhysicalMemory(LPLONG pRetVal);

Remarks

The PhysicalMemory value does not include swap space allocated by the operating system.