Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

DacDeployOptions.DropConstraintsNotInSource Property

SQL Server 2014

Get or set boolean that specifies whether to drop all constraints that do not exist in the source model.

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

public bool DropConstraintsNotInSource { get; set; }

Property Value

Type: System.Boolean

True to drop constraints not in the source model; otherwise, false. Default is true.

This applies to check, default, foreign key, primary key, and unique constraints.

Return to top

Community Additions

© 2015 Microsoft