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 | Gets or sets the number of enumerated queries in the performance counter. | |
EnumQueriesDuration | Gets or sets the time interval for the duration of the queries in the performance counter. | |
InitializeCallsCount | Gets or sets how many times the performance of the instance of SQL was called. | |
ObjectInfoRequestCount | Gets or sets the specified count of the objects in the counter. | |
SqlExecutionDuration | Gets or sets the time span value for the duration of the SQL execution in the performance counter. | |
UrnCallsCount | Gets or sets the specified number of Uniform Resource Name (URN) calls. | |
UrnSkelCallsCount | Gets or sets the specific count of Uniform Resource Name (URN) skeleton calls in the counter. | |
UrnSkeletonsPerf | Gets the current performance status of the Uniform Resource Name (URN) skeletons. | |
WalkDependenciesDuration | Gets or sets the duration of Walk Dependencies in the counter. |
上層
方法
名稱 | 說明 | |
---|---|---|
Dump(Boolean) | Creates a user-mode or kernel-mode crash dump file for the PerformanceCounters class to a log file. | |
Dump(String) | Creates a user-mode or kernel-mode crash dump file for the PerformanceCounters class with specified file name. | |
Dump(String, Boolean) | Creates a user-mode or kernel-mode crash dump file for the PerformanceCounters class with specified file name and header. | |
Equals | (繼承自 Object。) | |
Finalize | (繼承自 Object。) | |
GetHashCode | (繼承自 Object。) | |
GetType | (繼承自 Object。) | |
MemberwiseClone | (繼承自 Object。) | |
Reset | Resets the counter for PerformanceCounters class. | |
ToString | (繼承自 Object。) |
上層
備註
Thread Safety
此型別的任何公用靜態 (在 Microsoft Visual Basic 為共用) 成員具備多執行緒作業安全。不保證所有執行個體成員都是安全執行緒。
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。