DropConstraintsNotInSource Property
TOC
Collapse the table of content
Expand the table of content

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

ADD
Show:
© 2016 Microsoft