MpuSqlClrWrapper.ProcessorUsage Method

Definition

Identified for informational purposes only. Not supported. Future compatibility is not guaranteed. Returns the processor usage value using an imported function and the performance counter.

public:
 static System::Data::SqlTypes::SqlInt32 ProcessorUsage();
[Microsoft.SqlServer.Server.SqlFunction(DataAccess=Microsoft.SqlServer.Server.DataAccessKind.Read, IsDeterministic=true)]
public static System.Data.SqlTypes.SqlInt32 ProcessorUsage ();
[<Microsoft.SqlServer.Server.SqlFunction(DataAccess=Microsoft.SqlServer.Server.DataAccessKind.Read, IsDeterministic=true)>]
static member ProcessorUsage : unit -> System.Data.SqlTypes.SqlInt32
Public Shared Function ProcessorUsage () As SqlInt32

Returns

An integer value that specifies the percentage of processor usage.

Attributes

Applies to