DacDeployOptions.ScriptNewConstraintValidation Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.