Freigeben über


SqlDeploymentOptions.ScriptNewConstraintValidation-Eigenschaft

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 (in Microsoft.SqlServer.Dac.Extensions.dll)

Syntax

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

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

SqlDeploymentOptions Klasse

Microsoft.SqlServer.Dac.Deployment-Namespace