SqlDeploymentOptions.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.Deployment
Assembly: Microsoft.SqlServer.Dac.Extensions (in Microsoft.SqlServer.Dac.Extensions.dll)
Syntax
'Declaration
Public ReadOnly Property DropConstraintsNotInSource As Boolean
Get
'Usage
Dim instance As SqlDeploymentOptions
Dim value As Boolean
value = instance.DropConstraintsNotInSource
public bool DropConstraintsNotInSource { get; }
public:
property bool DropConstraintsNotInSource {
bool get ();
}
member DropConstraintsNotInSource : bool
function get DropConstraintsNotInSource () : boolean
Property Value
Type: System.Boolean
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.