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
category
Type: System.StringCategory name.
counter
Type: System.StringName of the counter.
See also
Reference
SPDiagnosticsPerformanceCounterProvider class