DTS Programming
CopySchema Property
The CopySchema property specifies whether Microsoft® SQL Server™ database objects are copied.
Applies To
TransferObjectsTask Object | TransferObjectsTask2 Object |
Syntax
object.CopySchema[= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | Value indicating whether data is copied |
Data Type
Boolean
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetCopySchema(VARIANT_BOOL *pRetVal);
HRESULT SetCopySchema(VARIANT_BOOL NewValue);
Remarks
The default is TRUE. If CopySchema is set to FALSE, the objects are not copied. If CopySchema is FALSE, data is copied only if the CopyData property is TRUE.