Share via


Transfer.DropDestinationObjectsFirst Property

Gets or sets the Boolean property value that specifies whether to drop the objects in the destination database before the transfer operation.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.SmoExtended (in Microsoft.SqlServer.SmoExtended.dll)

Syntax

'Declaration
Public Property DropDestinationObjectsFirst As Boolean
    Get
    Set
'Usage
Dim instance As Transfer
Dim value As Boolean

value = instance.DropDestinationObjectsFirst

instance.DropDestinationObjectsFirst = value
public bool DropDestinationObjectsFirst { get; set; }
public:
property bool DropDestinationObjectsFirst {
    bool get ();
    void set (bool value);
}
member DropDestinationObjectsFirst : bool with get, set
function get DropDestinationObjectsFirst () : boolean
function set DropDestinationObjectsFirst (value : boolean)

Property Value

Type: System.Boolean
A Boolean value that specifies whether to drop the objects in the destination database before the transfer operation.
If True, the objects in the destination database are dropped before the transfer operation. Otherwise, False (default).