Share via


SPPerformanceCategoryDefinition.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 ( _
    counterName As String _
)
'Usage
Dim instance As SPPerformanceCategoryDefinition
Dim counterName As String

instance.RemoveCounter(counterName)
public virtual void RemoveCounter(
    string counterName
)

Parameters

See also

Reference

SPPerformanceCategoryDefinition class

SPPerformanceCategoryDefinition members

Microsoft.SharePoint.Diagnostics namespace