SPPerformanceCategoryDefinition.AddInstance method
Add a performance counter by specifying the instance.
Namespace: Microsoft.SharePoint.Diagnostics
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overridable Sub AddInstance ( _
instanceName As String _
)
'Usage
Dim instance As SPPerformanceCategoryDefinition
Dim instanceName As String
instance.AddInstance(instanceName)
public virtual void AddInstance(
string instanceName
)
Parameters
- instanceName
Type: System.String
See also
Reference
SPPerformanceCategoryDefinition class