SPPerformanceCategoryDefinition.ContainsCounter Method
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