Classe PerformanceCounters
A PerformanceCounters object represents a performance counter that is used to trace the performance of the instance of SQL Server.
Gerarchia di ereditarietà
System. . :: . .Object
Microsoft.SqlServer.Management.Smo..::..PerformanceCounters
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public NotInheritable Class PerformanceCounters
'Utilizzo
Dim instance As PerformanceCounters
public sealed class PerformanceCounters
public ref class PerformanceCounters sealed
[<SealedAttribute>]
type PerformanceCounters = class end
public final class PerformanceCounters
Nel tipo PerformanceCounters sono esposti i membri seguenti.
Costruttori
Nome | Descrizione | |
---|---|---|
PerformanceCounters | Initializes a new instance of the PerformanceCounters object. |
In alto
Proprietà
Nome | Descrizione | |
---|---|---|
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. |
In alto
Metodi
Nome | Descrizione | |
---|---|---|
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 | Ereditato da Object. | |
Finalize | Ereditato da Object. | |
GetHashCode | Ereditato da Object. | |
GetType | Ereditato da Object. | |
MemberwiseClone | Ereditato da Object. | |
Reset | Resets the counter for PerformanceCounters class. | |
ToString | Ereditato da Object. |
In alto
Osservazioni
Thread Safety
Tutti i membri statici pubblici (Shared in Microsoft Visual Basic) di questo tipo sono sicuri per le operazioni a thread multipli. Non è invece garantita la sicurezza dei membri dell'istanza.
Protezione dei thread
I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.