Bagikan melalui


Server.PhysicalMemoryUsageInKB Property

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

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 PhysicalMemoryUsageInKB As Long 
    Get
'Usage
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

Property Value

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

See Also

Reference

Server Class

Microsoft.SqlServer.Management.Smo Namespace