Partager via


Transfer Method

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement, et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

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

Syntaxe

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);

Notes

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.

Applies To:

Database Object