CopySchema Property (SQL-DMO)

The CopySchema property controls table creation on data transfer.

Applies To

Transfer Object

Syntax

object.CopySchema [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value True or False

Remarks

If True, transfer processing creates tables prior to attempting to copy data.

If False, tables are not created prior to data copying. All tables indicated in the transfer operation must exist in the target database.

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetCopySchema(LPBOOL pRetVal);

HRESULT SetCopySchema(BOOL NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.