PerformanceCounters-Klasse

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

Vererbungshierarchie

System.Object
  Microsoft.SqlServer.Management.Smo.PerformanceCounters

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public NotInheritable Class PerformanceCounters
'Usage
Dim instance As PerformanceCounters
public sealed class PerformanceCounters
public ref class PerformanceCounters sealed
[<SealedAttribute>]
type PerformanceCounters =  class end
public final class PerformanceCounters

Der PerformanceCounters-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode PerformanceCounters Initializes a new instance of the PerformanceCounters object.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche EigenschaftStatisches Element DependencyDiscoveryDuration Gets or sets the dependency discovery duration.
Öffentliche EigenschaftStatisches Element DiscoverDependenciesDuration Gets or sets the time period to discover dependencies.
Öffentliche EigenschaftStatisches Element DoCount Returns Boolean value that determines whether the performance counter is enabled.
Öffentliche EigenschaftStatisches Element EnumQueriesCount Gets or sets the number of enumerated queries in the performance counter.
Öffentliche EigenschaftStatisches Element EnumQueriesDuration Gets or sets the time interval for the duration of the queries in the performance counter.
Öffentliche EigenschaftStatisches Element InitializeCallsCount Gets or sets how many times the performance of the instance of SQL was called.
Öffentliche EigenschaftStatisches Element ObjectInfoRequestCount Gets or sets the specified count of the objects in the counter.
Öffentliche EigenschaftStatisches Element SqlExecutionDuration Gets or sets the time span value for the duration of the SQL execution in the performance counter.
Öffentliche EigenschaftStatisches Element UrnCallsCount Gets or sets the specified number of Uniform Resource Name (URN) calls.
Öffentliche EigenschaftStatisches Element UrnSkelCallsCount Gets or sets the specific count of Uniform Resource Name (URN) skeleton calls in the counter.
Öffentliche EigenschaftStatisches Element UrnSkeletonsPerf Gets the current performance status of the Uniform Resource Name (URN) skeletons.
Öffentliche EigenschaftStatisches Element WalkDependenciesDuration Gets or sets the duration of Walk Dependencies in the counter.

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche MethodeStatisches Element Dump(Boolean) Creates a user-mode or kernel-mode crash dump file for the PerformanceCounters class to a log file.
Öffentliche MethodeStatisches Element Dump(String) Creates a user-mode or kernel-mode crash dump file for the PerformanceCounters class with specified file name.
Öffentliche MethodeStatisches Element Dump(String, Boolean) Creates a user-mode or kernel-mode crash dump file for the PerformanceCounters class with specified file name and header.
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Öffentliche MethodeStatisches Element Reset Resets the counter for PerformanceCounters class.
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Hinweise

Thread Safety

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.  

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Smo-Namespace