DacDeployOptions.ScriptNewConstraintValidation Property

SQL Server 2014

Updated: April 20, 2017

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)

public bool ScriptNewConstraintValidation { get; set; }

Property Value

Type: System.Boolean

True to validate check constraints; otherwise, false. Default is true.

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

Return to top

Community Additions