Partager via


CopySchema Property

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

The CopySchema property controls table creation on data transfer.

Syntaxe

object
.CopySchema [=value]

Parts

  • object
    An expression that evaluates to an object in the Applies To list

  • value
    TRUE or FALSE

Data Type

Boolean

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetCopySchema(LPBOOL pRetVal);
HRESULT SetCopySchema(BOOL NewValue);

Notes

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.

Applies To: