SPDiagnosticsPerformanceCounterProvider.CollectCounter Method

The list of categories and counters the provider will collect.

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

Syntax

'Declaration
Protected Overridable Sub CollectCounter ( _
    category As SPPerformanceCategoryDefinition, _
    machine As String _
)
'Usage
Dim category As SPPerformanceCategoryDefinition
Dim machine As String

Me.CollectCounter(category, machine)
protected virtual void CollectCounter(
    SPPerformanceCategoryDefinition category,
    string machine
)

Parameters

See Also

Reference

SPDiagnosticsPerformanceCounterProvider Class

SPDiagnosticsPerformanceCounterProvider Members

Microsoft.SharePoint.Diagnostics Namespace