Export (0) Print
Expand All

SPRepairableHealthAnalysisRule class

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

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

[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, 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.

Community Additions

ADD
Show:
© 2014 Microsoft