Condividi tramite


Proprietà PhysicalMemory

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<DisplayDescriptionKeyAttribute("Server_PhysicalMemoryDesc")> _
<DisplayNameKeyAttribute("Server_PhysicalMemoryName")> _
ReadOnly Property PhysicalMemory As Integer
    Get
'Utilizzo
Dim instance As IServerInformation
Dim value As Integer

value = instance.PhysicalMemory
[DisplayDescriptionKeyAttribute("Server_PhysicalMemoryDesc")]
[DisplayNameKeyAttribute("Server_PhysicalMemoryName")]
int PhysicalMemory { get; }
[DisplayDescriptionKeyAttribute(L"Server_PhysicalMemoryDesc")]
[DisplayNameKeyAttribute(L"Server_PhysicalMemoryName")]
property int PhysicalMemory {
    int get ();
}
[<DisplayDescriptionKeyAttribute("Server_PhysicalMemoryDesc")>]
[<DisplayNameKeyAttribute("Server_PhysicalMemoryName")>]
abstract PhysicalMemory : int
function get PhysicalMemory () : int

Valore proprietà

Tipo: System. . :: . .Int32
Int32