The CopySchema property specifies whether Microsoft® SQL Server™ database objects are copied.
object.CopySchema[= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | Value indicating whether data is copied |
Boolean
Read/write
HRESULT GetCopySchema(VARIANT_BOOL *pRetVal);
HRESULT SetCopySchema(VARIANT_BOOL NewValue);
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.