SqlDeploymentOptions.ScriptNewConstraintValidation Property
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
Property Value
Type: System.Boolean
True to validate check constraints; otherwise, false. Default is true.
Remarks
Constraints are always added with NOCHECK option; as a result their validation is skipped during creation.