Share via


TransferBase.DropDestinationObjectsFirst Property

Gets or sets a value that indicates 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 TransferBase 
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
true if the objects in the destination database are dropped before the transfer operation; otherwise, false. The default is false.

See Also

Reference

TransferBase Class

Microsoft.SqlServer.Management.Smo Namespace