SPGeneralPerformanceCategoryDefinition.ShouldMonitorInstance method
Directly compare the instance name. The # suffix of duplicate instance will be removed.
Namespace: Microsoft.SharePoint.Diagnostics
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overrides Function ShouldMonitorInstance ( _
instanceName As String _
) As Boolean
'Usage
Dim instance As SPGeneralPerformanceCategoryDefinition
Dim instanceName As String
Dim returnValue As Boolean
returnValue = instance.ShouldMonitorInstance(instanceName)
public override bool ShouldMonitorInstance(
string instanceName
)
Parameters
- instanceName
Type: System.String
Return value
Type: System.Boolean
Returns Boolean.
See also
Reference
SPGeneralPerformanceCategoryDefinition class