ProcessorUsage 属性

获取一个 Int32 值,该值指定数据库引擎实例使用的处理器时间。

命名空间:  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
一个 Int32 值,该值指定数据库引擎实例使用的处理器时间。