Policy.Enabled Policy.Enabled Policy.Enabled Property

Definition

Gets or set the Boolean value that specifies whether the policy is enabled.

public:
 property bool Enabled { bool get(); void set(bool value); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Required)]
public bool Enabled { get; set; }
Public Property Enabled As Boolean
Property Value

A Boolean object value that specifies whether the policy is enabled.

If True, the policy is enabled. Otherwise, False (default).

Examples

Setting Properties

Applies to