An abstract base class that provides a definition for a SharePoint Health Analyzer rule that can repair an error automatically.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration <SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _ <SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _ Public MustInherit Class SPRepairableHealthAnalysisRule _ Inherits SPHealthAnalysisRule 'Usage 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.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.