Compartilhar via


Propriedade PhysicalMemory

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<DisplayNameKeyAttribute("Server_PhysicalMemoryName")> _
<DisplayDescriptionKeyAttribute("Server_PhysicalMemoryDesc")> _
ReadOnly Property PhysicalMemory As Integer
    Get
'Uso
Dim instance As IServerInformation
Dim value As Integer

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

Valor da propriedade

Tipo: System. . :: . .Int32
Int32