PhysicalMemory Property (SQL-DMO)

The PhysicalMemory property returns the total RAM installed, in megabytes, on the computer running Microsoft® SQL Server™.

Applies To

Registry Object

Syntax

object.PhysicalMemory

Part Description
object Expression that evaluates to an object in the Applies To list

Remarks

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

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetPhysicalMemory(LPLONG pRetVal);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.