SPDiagnosticsPerformanceCounterProvider.RemoveInstance method
Removes an instance from the category.
Namespace: Microsoft.SharePoint.Diagnostics
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overridable Sub RemoveInstance ( _
category As String, _
instance As String _
)
'Usage
Dim instance As SPDiagnosticsPerformanceCounterProvider
Dim category As String
Dim instance As String
instance.RemoveInstance(category, instance)
public virtual void RemoveInstance(
string category,
string instance
)
Parameters
category
Type: System.StringThe cagegory name.
instance
Type: System.StringThe instance name.
See also
Reference
SPDiagnosticsPerformanceCounterProvider class