共用方式為


Microsoft.SharePoint.Administration.Health Namespace

Provides types and members for working with SharePoint Health Analyzer rules and reports.

Classes

  Class Description
Public class SPHealthAnalysisRule An abstract base class that provides a definition for a SharePoint Health Analyzer rule.
Public class SPHealthAnalysisRuleAutomaticExecutionParameters Encapsulates the default parameters for running a SharePoint Health Analyzer rule automatically via the timer service.
Public class SPHealthAnalysisRuleInstance
Public class SPHealthAnalyzer Provides static methods for managing SharePoint Health Analyzer rules.
Public class SPHealthReportsList Represents a list of SharePoint Health Analyzer reports.
Public class SPHealthRulesList Represents a list of SharePoint Health Analyzer rule definitions registered with the farm.
Public class SPRepairableHealthAnalysisRule An abstract base class that provides a definition for a SharePoint Health Analyzer rule that can repair an error automatically.

Enumerations

  Enumeration Description
Public enumeration SPHealthCategory Specifies the category for a SharePoint Health Analyzer rule.
Public enumeration SPHealthCheckErrorLevel Specifies the severity of a problem detected by the health analyzer.
Public enumeration SPHealthCheckSchedule Specifies the schedule that determines when a SharePoint Health Analyzer rule will automatically run.
Public enumeration SPHealthCheckScope Specifies where a SharePoint Health Analyzer rule should run.
Public enumeration SPHealthCheckStatus Describes the outcome after examining the system for a problem defined in a SharePoint Health Analyzer rule.
Public enumeration SPHealthRepairStatus Describes the result of an attempt to repair a problem detected by a SharePoint Health Analyzer rule.