Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask 命名空间

The Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask namespace contains classes and enumerations that allow the transfer of databases between a source and a destination server using two different methods: database online, and database offline. The task requires the use of a SMO connection.

  说明
公共类 TransferDatabaseTask Allows the transfer of a database between a source and a destination server using two different methods: database online, and database offline. The task requires the use of an SMO Connection Manager.
公共类 TransferDatabaseTask. . :: . .DtsTransferDBException The exception that is thrown at load time if the persisted name of the XML root node of the task is corrupt.

接口

  接口 说明
公共接口 ITransferDatabaseTask 基础结构。

枚举

  枚举 说明
公共枚举 TransferAction Used by the Action property to determine if the transfer is a copy or a move.
公共枚举 TransferMethod Used by the TransferDatabaseTask to determine whether the move or copy will occur in online mode or offline mode.