Aracılığıyla paylaş


IServerInformation.PhysicalMemory Property

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 (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
<DisplayNameKeyAttribute("Server_PhysicalMemoryName")> _
<DisplayDescriptionKeyAttribute("Server_PhysicalMemoryDesc")> _
ReadOnly Property PhysicalMemory As Integer
    Get
'Kullanım
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

Property Value

Type: System.Int32
The total RAM installed.

See Also

Reference

IServerInformation Interface

Microsoft.SqlServer.Management.Smo Namespace