Bagikan melalui


Server.PhysicalMemory Property

Gets the physical memory used by the server.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property PhysicalMemory As Integer 
    Get
'Usage
Dim instance As Server 
Dim value As Integer 

value = instance.PhysicalMemory
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)]
public int PhysicalMemory { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone)]
public:
virtual property int PhysicalMemory {
    int get () sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
abstract PhysicalMemory : int
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
override PhysicalMemory : int
final function get PhysicalMemory () : int

Property Value

Type: System.Int32
The physical memory used by the server.

Implements

IServerInformation.PhysicalMemory

See Also

Reference

Server Class

Microsoft.SqlServer.Management.Smo Namespace