The CopyData property specifies whether data should be copied, and whether existing data should be replaced or appended to.
| TransferObjectsTask Object |
object.CopyData[= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| value | Whether data should be copied, and whether existing data should be replaced or appended to |
CopyData must be set to one of the DTSTransfer_CopyDataOption values. The default is DTSTransfer_ReplaceData.
Read/write
HRESULT GetCopyData(DTSTransfer_CopyDataOption *pRetVal);
HRESULT SetCopyData(DTSTransfer_CopyDataOption NewValue);
| CopyAllObjects Property | IncludeDependencies Property |
| CopySchema Property | IncludeLogins Property |
| DropDestinationObjectsFirst Property | IncludeUsers Property |