Transfer Object

Description

A Transfer object contains complete information for a transfer of objects and data from a source database to a destination database. Create a new Transfer object; set the properties to the appropriate values; pass that Transfer object to the ScriptTransfer method with tScriptMode set to SQLOLEXfrFile_SummaryFiles to create the script files; then pass the same Transfer object to the Transfer method to perform the database transfer. The source database is the Database object, and the destination database can be on a different SQL Server.