Dela via


DeployedDac.IsPolicyOverridden Property

Gets a value that indicates whether any policy is overridden for this object.

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property IsPolicyOverridden As Boolean
    Get
'Usage
Dim instance As DeployedDac
Dim value As Boolean

value = instance.IsPolicyOverridden
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public bool IsPolicyOverridden { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property bool IsPolicyOverridden {
    bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member IsPolicyOverridden : bool
function get IsPolicyOverridden () : boolean

Property Value

Type: System.Boolean
A Boolean value that indicates whether one of the DeployedDac policies has been overridden. If true, a policy has been overridden. Otherwise, false.