DacDeployOptions.ScriptNewConstraintValidation 属性

定义

获取或设置一个布尔值,用于指定是否在应用所有更改后验证约束。

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

属性值

如果要验证检查约束,则为 true;否则为 false。 默认为 true。

属性

注解

始终使用 NOCHECK 选项添加约束;因此,在创建过程中将跳过其验证。

适用于