Condividi tramite


PhysicalMemory Property

Questa caratteristica verrà rimossa a partire da una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa funzionalità in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.

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

Sintassi

object.PhysicalMemory

Parts

  • object
    An expression that evaluates to an object in the Applies To list

Data Type

Long

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetPhysicalMemory(LPLONG pRetVal);

Osservazioni

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

Applies To: