Partilhar via


Propriedade do RDL DacDeployOptions.ScriptNewConstraintValidation

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

Namespace:  Microsoft.SqlServer.Dac
Assembly:  Microsoft.SqlServer.Dac (em Microsoft.SqlServer.Dac.dll)

Sintaxe

'Declaração
Public Property ScriptNewConstraintValidation As Boolean 
    Get 
    Set
'Uso
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)

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.

Consulte também

Referência

DacDeployOptions Classe

Namespace Microsoft.SqlServer.Dac