共用方式為


Transfer Method

未來的 Microsoft SQL Server 版本將移除這項功能。請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。

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

語法

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

備註

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: