Share via


DacUpgradeOptions.SkipPolicyValidation Property

Gets and sets the SkipPolicyValidation option that controls whether the upgrade evaluates the server selection policy in the DAC type used for the upgrade.

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

Syntax

'Declaration
Public Property SkipPolicyValidation As Boolean
    Get
    Set
'Usage
Dim instance As DacUpgradeOptions
Dim value As Boolean

value = instance.SkipPolicyValidation

instance.SkipPolicyValidation = value
public bool SkipPolicyValidation { get; set; }
public:
property bool SkipPolicyValidation {
    bool get ();
    void set (bool value);
}
member SkipPolicyValidation : bool with get, set
function get SkipPolicyValidation () : boolean
function set SkipPolicyValidation (value : boolean)

Property Value

Type: System.Boolean
A Boolean value that specifies whether upgrade evaluates the server selection policy in the DAC type. If True, the policy is evaluated and the upgrade stops if the evaluation fails. If False, the policy is not evaluated. Specify False only if you have reviewed the server selection policy and are sure the instance of the Database Engine can successfully host the new DAC type.

See Also

Reference

DacUpgradeOptions Class

Microsoft.SqlServer.Management.Dac Namespace