SqlDeploymentOptions.DropConstraintsNotInSource Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get boolean that specifies whether to drop all constraints that do not exist in the source model.
public bool DropConstraintsNotInSource { get; }
member this.DropConstraintsNotInSource : bool
Public ReadOnly Property DropConstraintsNotInSource As Boolean
Property Value
True to drop constraints not in the source model; otherwise, false. Default is true.
Remarks
This applies to check, default, foreign key, primary key, and unique constraints.