PerformanceCounters 类
A PerformanceCounters object represents a performance counter that is used to trace the performance of the instance of SQL Server.
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Management.Smo..::..PerformanceCounters
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public NotInheritable Class PerformanceCounters
用法
Dim instance As PerformanceCounters
public sealed class PerformanceCounters
public ref class PerformanceCounters sealed
[<SealedAttribute>]
type PerformanceCounters = class end
public final class PerformanceCounters
PerformanceCounters 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() ![]() |
DependencyDiscoveryDuration | Gets or sets the dependency discovery duration. |
![]() ![]() |
DiscoverDependenciesDuration | Gets or sets the time period to discover dependencies. |
![]() ![]() |
DoCount | Returns Boolean value that determines whether the performance counter is enabled. |
![]() ![]() |
EnumQueriesCount | |
![]() ![]() |
EnumQueriesDuration | |
![]() ![]() |
InitializeCallsCount | |
![]() ![]() |
ObjectInfoRequestCount | |
![]() ![]() |
SqlExecutionDuration | |
![]() ![]() |
UrnCallsCount | |
![]() ![]() |
UrnSkelCallsCount | |
![]() ![]() |
UrnSkeletonsPerf | |
![]() ![]() |
WalkDependenciesDuration |
页首
方法
名称 | 说明 | |
---|---|---|
![]() ![]() |
Dump(Boolean) | |
![]() ![]() |
Dump(String) | |
![]() ![]() |
Dump(String, Boolean) | |
![]() |
Equals | (从 Object 继承。) |
![]() |
Finalize | (从 Object 继承。) |
![]() |
GetHashCode | (从 Object 继承。) |
![]() |
GetType | (从 Object 继承。) |
![]() |
MemberwiseClone | (从 Object 继承。) |
![]() ![]() |
Reset | |
![]() |
ToString | (从 Object 继承。) |
页首
注释
Thread Safety
此类型的任何公共静态(Microsoft Visual Basic 中的 Shared)成员在多线程操作中是安全的。 不保证所有实例成员都对于线程安全的。
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。