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
- defintion
Type: Microsoft.SharePoint.Diagnostics.SPPerformanceCategoryDefinition
See also
Reference
SPDiagnosticsPerformanceCounterProvider class