Freigeben über


DacDeployOptions.ScriptNewConstraintValidation-Eigenschaft

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)

Syntax

'Declaration
Public Property ScriptNewConstraintValidation As Boolean 
    Get 
    Set
'Usage
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)

Eigenschaftswert

Typ: System.Boolean
True to validate check constraints; otherwise, false. Default is true.

Hinweise

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

Siehe auch

Verweis

DacDeployOptions Klasse

Microsoft.SqlServer.Dac-Namespace