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)

public bool DropDestinationObjectsFirst { get; set; }

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).

Community Additions

ADD
Show: