DacDeployOptions.ScriptNewConstraintValidation Property

Get or set boolean that specifies whether constraints are validated after all changes are applied.

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

Syntax

'Declaration
Public Property ScriptNewConstraintValidation As Boolean 
    Get 
    Set
'Usage
Dim instance As DacDeployOptions 
Dim value As Boolean 

value = instance.ScriptNewConstraintValidation

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

Property Value

Type: System.Boolean
True to validate check constraints; otherwise, false. Default is true.

Remarks

Constraints are always added with NOCHECK option; as a result their validation is skipped during creation.

See Also

Reference

DacDeployOptions Class

Microsoft.SqlServer.Dac Namespace