Compartir a través de


Server.ProcessorUsage Propiedad

Gets an Int32 value that specifies the processor time used by the instance of the Database Engine.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Expensive Or SfcPropertyFlags.Standalone)> _
Public ReadOnly Property ProcessorUsage As Integer 
    Get
'Uso
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

Valor de la propiedad

Tipo: System.Int32
An Int32 value that specifies the processor time used by the instance of the Database Engine.

Vea también

Referencia

Server Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo