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)
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