DTS Programming

DropDestinationObjectsFirst Property

The DropDestinationObjectsFirst property specifies whether to drop objects if they already exist on the destination.

Applies To
TransferObjectsTask Object TransferObjectsTask2 Object

Syntax

object.DropDestinationObjectsFirst[= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Value indicating whether to drop objects

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetDropDestinationObjectsFirst(VARIANT_BOOL *pRetVal);

HRESULT SetDropDestinationObjectsFirst(VARIANT_BOOL NewValue);

Remarks

The default is FALSE.

See Also

CopyAllObjects Property

CopyData Property

CopySchema Property

IncludeDependencies Property

IncludeLogins Property

IncludeUsers Property