DacDeployOptions.ScriptNewConstraintValidation 属性

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

命名空间:  Microsoft.SqlServer.Dac
程序集:  Microsoft.SqlServer.Dac(在 Microsoft.SqlServer.Dac.dll 中)

语法

声明
Public Property ScriptNewConstraintValidation As Boolean 
    Get 
    Set
用法
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)

属性值

类型: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.

请参阅

参考

DacDeployOptions 类

Microsoft.SqlServer.Dac 命名空间