CopySchema Property
Esta característica se quitará en una versión futura de Microsoft SQL Server. Evite utilizar esta característica en nuevos trabajos de desarrollo y tenga previsto modificar las aplicaciones que actualmente la utilizan.
The CopySchema property controls table creation on data transfer.
Sintaxis
object.CopySchema [=value]
Parts
object
An expression that evaluates to an object in the Applies To listvalue
TRUE or FALSE
Data Type
Boolean
Modifiable
Read/write
Prototype (C/C++)
HRESULT GetCopySchema(LPBOOL pRetVal);
HRESULT SetCopySchema(BOOL NewValue);
Notas
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.