Share via


SPPolicyRule.Enabled property

Namespace:  Microsoft.SharePoint.Client.CompliancePolicy
Assembly:  Microsoft.Office.Client.Policy (in Microsoft.Office.Client.Policy.dll)

Syntax

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

value = instance.Enabled

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

Property value

Type: System.Boolean

See also

Reference

SPPolicyRule class

SPPolicyRule members

Microsoft.SharePoint.Client.CompliancePolicy namespace