Server.ProcessorUsage 属性
Gets an Int32 value that specifies the processor time used by the instance of the Database Engine.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ProcessorUsage As Integer
Get
用法
Dim instance As Server
Dim value As Integer
value = instance.ProcessorUsage
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)]
public int ProcessorUsage { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Expensive|SfcPropertyFlags::Standalone)]
public:
property int ProcessorUsage {
int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Expensive|SfcPropertyFlags.Standalone)>]
member ProcessorUsage : int
function get ProcessorUsage () : int
属性值
类型:System.Int32
An Int32 value that specifies the processor time used by the instance of the Database Engine.