SqlSchemaDeploymentOptions.DropConstraintsNotInSource Property
Gets or sets a value that indicates whether constraints that occur only in the target should be dropped when deploying changes.
Namespace: Microsoft.Data.Schema.Sql.Build
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Property DropConstraintsNotInSource As Boolean
public bool DropConstraintsNotInSource { get; set; }
public:
property bool DropConstraintsNotInSource {
bool get ();
void set (bool value);
}
member DropConstraintsNotInSource : bool with get, set
function get DropConstraintsNotInSource () : boolean
function set DropConstraintsNotInSource (value : boolean)
Property Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.