次の方法で共有


ManagedInstance.PhysicalMemory プロパティ

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
SQL Server のマネージ インスタンスを含む Int32 です。

関連項目

参照

ManagedInstance クラス

Microsoft.SqlServer.Management.Utility 名前空間