Share via


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