Partager via


Propriété PhysicalMemory

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayDescriptionKeyAttribute("Server_PhysicalMemoryDesc")> _
<DisplayNameKeyAttribute("Server_PhysicalMemoryName")> _
ReadOnly Property PhysicalMemory As Integer
    Get
'Utilisation
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

Valeur de propriété

Type : System. . :: . .Int32
Int32