Share via


TransferSqlServerObjectsTask.DropObjectsFirst Property

Gets or sets a Boolean that indicates whether the objects that have been selected for transfer from the source are dropped first on the destination server before the transfer begins.

Namespace:  Microsoft.SqlServer.Dts.Tasks.TransferSqlServerObjectsTask
Assembly:  Microsoft.SqlServer.TransferSqlServerObjectsTask (in Microsoft.SqlServer.TransferSqlServerObjectsTask.dll)

Syntax

'Declaration
Public Property DropObjectsFirst As Boolean
    Get
    Set
'Usage
Dim instance As TransferSqlServerObjectsTask
Dim value As Boolean

value = instance.DropObjectsFirst

instance.DropObjectsFirst = value
public bool DropObjectsFirst { get; set; }
public:
virtual property bool DropObjectsFirst {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract DropObjectsFirst : bool with get, set
override DropObjectsFirst : bool with get, set
final function get DropObjectsFirst () : boolean
final function set DropObjectsFirst (value : boolean)

Property Value

Type: System.Boolean
true if objects at the destination are dropped before copying is started.

Implements

ITransferSqlServerObjectsTask.DropObjectsFirst

Remarks

The default value is true.