SPHealthAnalysisRuleAutomaticExecutionParameters.Scope Property
Gets or sets the number of servers on which the rule will run.
Namespace: Microsoft.SharePoint.Administration.Health
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property Scope As SPHealthCheckScope
Get
Set
'Usage
Dim instance As SPHealthAnalysisRuleAutomaticExecutionParameters
Dim value As SPHealthCheckScope
value = instance.Scope
instance.Scope = value
public SPHealthCheckScope Scope { get; set; }
Property Value
Type: Microsoft.SharePoint.Administration.Health.SPHealthCheckScope
An enumeration value that defines the number of servers on which your rule will run.
Remarks
The Scope property determines where the rule is run. If the property is set to SPHealthCheckScope.All, the rule file will run on all computers that have the service specified by the ServiceType property. If the Scope property is set to SPHealthCheckScope.Any, the rule file will run on the first available computer with the specified service.
See Also
Reference
SPHealthAnalysisRuleAutomaticExecutionParameters Class