Share via


SPHealthRulesList members

Represents a list of SharePoint Health Analyzer rule definitions registered with the farm.

The SPHealthRulesList type exposes the following members.

Properties

  Name Description
Public propertyStatic member Local Gets an SPHealthRulesList object that represents the SharePoint Health Analyzer Rules list for the farm.

Top

Methods

  Name Description
Public method AddItem(SPHealthAnalysisRule) Creates a list item and a timer job for the specified instance of a rule.
Public method AddItem(SPHealthAnalysisRule, Boolean) Creates a list item and a timer job for the specified instance of a rule, optionally overwriting an existing list item for the rule.
Public method AddItems Creates list items and timer jobs for all rules in an assembly.
Public method DeleteItems Deletes list items and timer jobs for all rules in an assembly.
Public method Dispose Releases all unmanaged resources used by the SPHealthRulesList object.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetItem Returns the list item for the specified rule from the Health Rules list if an item for the rule exists.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See also

Reference

SPHealthRulesList class

Microsoft.SharePoint.Administration.Health namespace