Transfer Method
This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
The Transfer method copies database schema and/or data from one Microsoft SQL Server database to another.
Syntax
object.Transfer(Transfer)
Parts
object
Expression that evaluates to an object in the Applies To list.Transfer
Expression that evaluates to a Transfer object.
Prototype (C/C++)
HRESULT Transfer(
LPSQLDMOTRANSFER TransferSpec);
Remarks
Use the Transfer object provided in the argument to direct database object processing in a copy operation. For more information about constructing and using a database copy definition, see Transfer Object.