CopyData Property

DTS Programming

DTS Programming

CopyData Property

The CopyData property specifies whether data is copied and whether existing data is replaced or appended to.

Applies To
TransferObjectsTask Object TransferObjectsTask2 Object
Syntax

object.CopyData[= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Code that specifies whether data is copied and whether existing data is replaced or appended to

Data Type

DTSTransfer_CopyDataOption

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetCopyData(DTSTransfer_CopyDataOption *pRetVal);

HRESULT SetCopyData(DTSTransfer_CopyDataOption NewValue);

Remarks

CopyData must be set to one of the DTSTransfer_CopyDataOption values. The default is DTSTransfer_ReplaceData.

See Also

CopyAllObjects Property

CopySchema Property

DropDestinationObjectsFirst Property

IncludeDependencies Property

IncludeLogins Property

IncludeUsers Property