SPPerformanceCategoryDefinition.ShouldMonitorInstance method
This method should return true if the specified instance should be monitored.
Namespace: Microsoft.SharePoint.Diagnostics
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Overridable Function ShouldMonitorInstance ( _
instanceName As String _
) As Boolean
'Usage
Dim instance As SPPerformanceCategoryDefinition
Dim instanceName As String
Dim returnValue As Boolean
returnValue = instance.ShouldMonitorInstance(instanceName)
public virtual bool ShouldMonitorInstance(
string instanceName
)
Parameters
instanceName
Type: System.StringName of the target instance.
Return value
Type: System.Boolean
Returns Boolean.
See also
Reference
SPPerformanceCategoryDefinition class