Partager via


Propriété SqlDeploymentOptions.ScriptNewConstraintValidation

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

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

Syntaxe

'Déclaration
Public ReadOnly Property ScriptNewConstraintValidation As Boolean 
    Get
'Utilisation
Dim instance As SqlDeploymentOptions 
Dim value As Boolean 

value = instance.ScriptNewConstraintValidation
public bool ScriptNewConstraintValidation { get; }
public:
property bool ScriptNewConstraintValidation {
    bool get ();
}
member ScriptNewConstraintValidation : bool
function get ScriptNewConstraintValidation () : 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

SqlDeploymentOptions Classe

Espace de noms Microsoft.SqlServer.Dac.Deployment