SPAdministrationWebApplication.HealthRules Property
Gets an SPHealthRulesList object that represents the SharePoint Health Analyzer Health Rules list for the farm.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public ReadOnly Property HealthRules As SPHealthRulesList
Get
'Usage
Dim instance As SPAdministrationWebApplication
Dim value As SPHealthRulesList
value = instance.HealthRules
public SPHealthRulesList HealthRules { get; }
Property Value
Type: Microsoft.SharePoint.Administration.Health.SPHealthRulesList
The SharePoint Health Analyzer Health Rules list for the farm.
Remarks
The SPHealthRulesList object returned by this property uses unmanaged resources. You are responsible for releasing those resources. One way to do that is to call the Dispose() method when you no longer need the SPHealthRulesList object.
See Also
Reference
SPAdministrationWebApplication Class
SPAdministrationWebApplication Members