MpuSqlClrWrapper.ProcessorUsage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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