Partager via


Propriété DacDeployOptions.ScriptNewConstraintValidation

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

Espace de noms :  Microsoft.SqlServer.Dac
Assembly :  Microsoft.SqlServer.Dac (en Microsoft.SqlServer.Dac.dll)

Syntaxe

'Déclaration
Public Property ScriptNewConstraintValidation As Boolean 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Notes

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

Voir aussi

Référence

DacDeployOptions Classe

Espace de noms Microsoft.SqlServer.Dac