Freigeben über


SPDiagnosticsPerformanceCounterProvider.AddPerformanceCategory-Methode

Die Liste der Kategorien und Leistungsindikatoren wird der Anbieter erfasst.

Namespace:  Microsoft.SharePoint.Diagnostics
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overridable Sub AddPerformanceCategory ( _
    defintion As SPPerformanceCategoryDefinition _
)
'Usage
Dim instance As SPDiagnosticsPerformanceCounterProvider
Dim defintion As SPPerformanceCategoryDefinition

instance.AddPerformanceCategory(defintion)
public virtual void AddPerformanceCategory(
    SPPerformanceCategoryDefinition defintion
)

Parameter

Siehe auch

Referenz

SPDiagnosticsPerformanceCounterProvider Klasse

SPDiagnosticsPerformanceCounterProvider-Member

Microsoft.SharePoint.Diagnostics-Namespace