共用方式為


ManagedInstance.PhysicalMemory 屬性

Gets the physical memory of the managed instance of SQL Server.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property PhysicalMemory As Integer 
    Get
'用途
Dim instance As ManagedInstance 
Dim value As Integer 

value = instance.PhysicalMemory
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public int PhysicalMemory { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property int PhysicalMemory {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member PhysicalMemory : int
function get PhysicalMemory () : int

屬性值

型別:System.Int32
An Int32 that contains the managed instance of SQL Server.

請參閱

參考

ManagedInstance 類別

Microsoft.SqlServer.Management.Utility 命名空間