Share via


SchemaDeploymentOptions.DropObjectsNotInSource Property

Gets or sets a value that indicates whether to drop any objects in the target database that are not in the source database.

Namespace:  Microsoft.Data.Schema.Build
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Property DropObjectsNotInSource As Boolean
public bool DropObjectsNotInSource { get; set; }
public:
property bool DropObjectsNotInSource {
    bool get ();
    void set (bool value);
}
member DropObjectsNotInSource : bool with get, set
function get DropObjectsNotInSource () : boolean
function set DropObjectsNotInSource (value : boolean)

Property Value

Type: System.Boolean
true to drop target database objects that are not in the source database; otherwise, false.

.NET Framework Security

See Also

Reference

SchemaDeploymentOptions Class

Microsoft.Data.Schema.Build Namespace