SPPerformanceCategoryDefinition.ContainsCounter method
Check if a counter exists in the category
Namespace: Microsoft.SharePoint.Diagnostics
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Function ContainsCounter ( _
counter As String _
) As Boolean
'Usage
Dim instance As SPPerformanceCategoryDefinition
Dim counter As String
Dim returnValue As Boolean
returnValue = instance.ContainsCounter(counter)
public bool ContainsCounter(
string counter
)
Parameters
- counter
Type: System.String
Return value
Type: System.Boolean
Returns Boolean.
See also
Reference
SPPerformanceCategoryDefinition class