Share via


SPDiagnosticsPerformanceCounterProvider.RemoveCounter method

Remove an instance from the category.

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

Syntax

'Declaration
Public Overridable Sub RemoveCounter ( _
    category As String, _
    counter As String _
)
'Usage
Dim instance As SPDiagnosticsPerformanceCounterProvider
Dim category As String
Dim counter As String

instance.RemoveCounter(category, counter)
public virtual void RemoveCounter(
    string category,
    string counter
)

Parameters

See also

Reference

SPDiagnosticsPerformanceCounterProvider class

SPDiagnosticsPerformanceCounterProvider members

Microsoft.SharePoint.Diagnostics namespace