共用方式為


Server.PhysicalMemoryUsageInKB 屬性

Gets an Int64 value that specifies the amount of memory in use by the instance of the Database Engine, in kilobytes.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property PhysicalMemoryUsageInKB As Long 
    Get
'用途
Dim instance As Server 
Dim value As Long 

value = instance.PhysicalMemoryUsageInKB
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)]
public long PhysicalMemoryUsageInKB { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone)]
public:
property long long PhysicalMemoryUsageInKB {
    long long get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
member PhysicalMemoryUsageInKB : int64
function get PhysicalMemoryUsageInKB () : long

屬性值

型別:System.Int64
An Int64 value that specifies the amount of memory in use by the instance of the Database Engine, in kilobytes.

請參閱

參考

Server 類別

Microsoft.SqlServer.Management.Smo 命名空間