SPRepairableHealthAnalysisRule Class
SharePoint 2010
An abstract base class that provides a definition for a SharePoint Health Analyzer rule that can repair an error automatically.
System.Object
Microsoft.SharePoint.Administration.Health.SPHealthAnalysisRule
Microsoft.SharePoint.Administration.Health.SPRepairableHealthAnalysisRule
Microsoft.SharePoint.Administration.Health.SPHealthAnalysisRule
Microsoft.SharePoint.Administration.Health.SPRepairableHealthAnalysisRule
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
When you create a subclass of the SPRepairableHealthAnalysisRule class, you must override and implement the Summary, Explanation, Remedy, Category, and ErrorLevel properties as well as the Check() and Repair() methods. Implementation of the remaining members of the class is optional.