Export (0) Print
Expand All
Expand Minimize

DacDeployOptions.DropConstraintsNotInSource Property


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