Share via


SPDiagnosticsPerformanceCounterProvider.AddPerformanceCategory method

The list of categories and counters the provider will collect.

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
)

Parameters

See also

Reference

SPDiagnosticsPerformanceCounterProvider class

SPDiagnosticsPerformanceCounterProvider members

Microsoft.SharePoint.Diagnostics namespace