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