PerformanceCounters PerformanceCounters PerformanceCounters Class

Definition

A PerformanceCounters object represents a performance counter that is used to trace the performance of the instance of SQL Server.

public ref class PerformanceCounters sealed
public sealed class PerformanceCounters
Public NotInheritable Class PerformanceCounters
Inheritance
PerformanceCountersPerformanceCountersPerformanceCounters

Remarks

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Constructors

PerformanceCounters() PerformanceCounters() PerformanceCounters()

Initializes a new instance of the PerformanceCounters object.

Properties

DependencyDiscoveryDuration DependencyDiscoveryDuration DependencyDiscoveryDuration

Gets or sets the dependency discovery duration.

DiscoverDependenciesDuration DiscoverDependenciesDuration DiscoverDependenciesDuration

Gets or sets the time period to discover dependencies.

DoCount DoCount DoCount

Returns Boolean value that determines whether the performance counter is enabled.

EnumQueriesCount EnumQueriesCount EnumQueriesCount

Gets or sets the number of enumerated queries in the performance counter.

EnumQueriesDuration EnumQueriesDuration EnumQueriesDuration

Gets or sets the time interval for the duration of the queries in the performance counter.

InitializeCallsCount InitializeCallsCount InitializeCallsCount

Gets or sets how many times the performance of the instance of SQL was called.

ObjectInfoRequestCount ObjectInfoRequestCount ObjectInfoRequestCount

Gets or sets the specified count of the objects in the counter.

SqlExecutionDuration SqlExecutionDuration SqlExecutionDuration

Gets or sets the time span value for the duration of the SQL execution in the performance counter.

UrnCallsCount UrnCallsCount UrnCallsCount

Gets or sets the specified number of Uniform Resource Name (URN) calls.

UrnSkelCallsCount UrnSkelCallsCount UrnSkelCallsCount

Gets or sets the specific count of Uniform Resource Name (URN) skeleton calls in the counter.

UrnSkeletonsPerf UrnSkeletonsPerf UrnSkeletonsPerf

Gets the current performance status of the Uniform Resource Name (URN) skeletons.

WalkDependenciesDuration WalkDependenciesDuration WalkDependenciesDuration

Gets or sets the duration of Walk Dependencies in the counter.

Methods

Dump(Boolean) Dump(Boolean) Dump(Boolean)

Creates a user-mode or kernel-mode crash dump file for the PerformanceCounters class to a log file.

Dump(String) Dump(String) Dump(String)

Creates a user-mode or kernel-mode crash dump file for the PerformanceCounters class with specified file name.

Dump(String, Boolean) Dump(String, Boolean) Dump(String, Boolean)

Creates a user-mode or kernel-mode crash dump file for the PerformanceCounters class with specified file name and header.

Reset() Reset() Reset()

Resets the counter for PerformanceCounters class.

Applies to