DacDeployOptions.ScriptNewConstraintValidation Property

Definition

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

public bool ScriptNewConstraintValidation { get; set; }
[Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "ScriptNewConstraintValidation")]
public bool ScriptNewConstraintValidation { get; set; }
member this.ScriptNewConstraintValidation : bool with get, set
[<Microsoft.SqlServer.Dac.OptionDescription(typeof(Microsoft.Data.Tools.Schema.Sql.CommandLine.CommandLineResources), "ScriptNewConstraintValidation")>]
member this.ScriptNewConstraintValidation : bool with get, set
Public Property ScriptNewConstraintValidation As Boolean

Property Value

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

Attributes

Remarks

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

Applies to