Propriedade do RDL SqlDeploymentOptions.ScriptNewConstraintValidation
Get or set boolean that specifies whether constraints are validated after all changes are applied.
Namespace: Microsoft.SqlServer.Dac.Deployment
Assembly: Microsoft.SqlServer.Dac.Extensions (em Microsoft.SqlServer.Dac.Extensions.dll)
Sintaxe
'Declaração
Public ReadOnly Property ScriptNewConstraintValidation As Boolean
Get
'Uso
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
Valor da propriedade
Tipo: System.Boolean
True to validate check constraints; otherwise, false. Default is true.
Comentários
Constraints are always added with NOCHECK option; as a result their validation is skipped during creation.