Share via


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

Return Value

Type: System.Boolean
Returns Boolean.

See Also

Reference

SPPerformanceCategoryDefinition Class

SPPerformanceCategoryDefinition Members

Microsoft.SharePoint.Diagnostics Namespace