Transfer Object

SQL-DMO

SQL-DMO
Methods
Abort Method AddObjectByName Method
AddObject Method ListObjectNames Method

Events
PercentCompleteAtStep Event StatusMessage Event
ScriptTransferPercentComplete Event TransferPercentComplete Event

Remarks

SQL Server provides a database object-scripting and data export and import mechanism to move schema and data from one database to another. SQL-DMO provides access to the database-transfer utility through the Transfer object and the ScriptTransfer and Transfer methods of the Database object.

With the Transfer object, you can:

  • Identify schema or data to move from one SQL Server database to another.

  • Identify the destination for schema and data transferred.

  • Monitor the progress of the ScriptTransfer and Transfer methods of the Database object.

  • Stop an in-progress database-to-database transfer operation.

    Note  The Transfer object is compatible with instances of SQL Server 2000 and SQL Server version 7.0. However, the Transfer2 object extends the functionality of the Transfer object for use with features that are new in SQL Server 2000.

See Also

Transfer2 Object