SPRepairableHealthAnalysisRule Class

An abstract base class that provides a definition for a SharePoint Health Analyzer rule that can repair an error automatically.

Inheritance Hierarchy


Namespace:  Microsoft.SharePoint.Administration.Health
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public MustInherit Class SPRepairableHealthAnalysisRule _
    Inherits SPHealthAnalysisRule
Dim instance As SPRepairableHealthAnalysisRule
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class SPRepairableHealthAnalysisRule : SPHealthAnalysisRule


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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


SPRepairableHealthAnalysisRule Members

Microsoft.SharePoint.Administration.Health Namespace


Other Resources

SharePoint Health Analyzer