Share via


SPHealthAnalysisRuleInstance.Enabled property

Gets or sets whether the Health Analysis instance is enabled.

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

Syntax

'Declaration
Public Property Enabled As Boolean
    Get
    Set
'Usage
Dim instance As SPHealthAnalysisRuleInstance
Dim value As Boolean

value = instance.Enabled

instance.Enabled = value
public bool Enabled { get; set; }

Property value

Type: System.Boolean

See also

Reference

SPHealthAnalysisRuleInstance class

SPHealthAnalysisRuleInstance members

Microsoft.SharePoint.Administration.Health namespace