Server.ProcessorUsage Property
Gets an Int32 value that specifies the processor time used by the instance of the Database Engine.
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 ProcessorUsage As Integer
Get
'Usage
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
Property Value
Type: System.Int32
An Int32 value that specifies the processor time used by the instance of the Database Engine.