Share via


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

See Also

Reference

SqlSchemaDeploymentOptions Class

Microsoft.Data.Schema.Sql.Build Namespace