SPPerformanceCategoryDefinition.AddCounter Method
Add a counter name to the definition.
Namespace: Microsoft.SharePoint.Diagnostics
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overridable Sub AddCounter ( _
counterName As String _
)
'Usage
Dim instance As SPPerformanceCategoryDefinition
Dim counterName As String
instance.AddCounter(counterName)
public virtual void AddCounter(
string counterName
)
Parameters
- counterName
Type: System.String
See Also
Reference
SPPerformanceCategoryDefinition Class