共用方式為


Server.PhysicalMemory 屬性

Gets the physical memory used by the server.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property PhysicalMemory As Integer 
    Get
'用途
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

屬性值

型別:System.Int32
The physical memory used by the server.

實作

IServerInformation.PhysicalMemory

請參閱

參考

Server 類別

Microsoft.SqlServer.Management.Smo 命名空間