Transfer Method

SQL-DMO

SQL-DMO

Transfer Method

The Transfer method copies database schema and/or data from one Microsoft® SQL Server™ 2000 database to another.

Applies To
Database Object  
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.