共用方式為


ITransferDatabaseTask 介面

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Represents a transfer database task.

命名空間:  Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask
組件:  Microsoft.SqlServer.TransferDatabasesTask (在 Microsoft.SqlServer.TransferDatabasesTask.dll 中)

語法

'宣告
Public Interface ITransferDatabaseTask
'用途
Dim instance As ITransferDatabaseTask
public interface ITransferDatabaseTask
public interface class ITransferDatabaseTask
type ITransferDatabaseTask =  interface end
public interface ITransferDatabaseTask

ITransferDatabaseTask 型別公開下列成員。

屬性

  名稱 說明
公用屬性 Action 基礎結構。Gets or sets a value from the TransferAction enumeration indicating whether the task is copying or moving databases.
公用屬性 DestinationConnection 基礎結構。Gets or sets the name of the connection manager for the destination database.
公用屬性 DestinationDatabaseFiles 基礎結構。Gets or sets the name of the database files for the destination database.
公用屬性 DestinationDatabaseName 基礎結構。Gets or sets the name of the database at the destination.
公用屬性 DestinationOverwrite 基礎結構。Gets or sets a value that indicates whether the destination database can be overwritten if it exists.
公用屬性 Method 基礎結構。Gets or sets a value from the TransferMethod enumeration indicating whether to use Online or Offline transfer method.
公用屬性 ReattachSourceDatabase 基礎結構。Gets or sets a value that indicates whether the database should be reattached or not.
公用屬性 SourceConnection 基礎結構。Gets or sets the name of the connection manager for the source database.
公用屬性 SourceDatabaseFiles 基礎結構。Gets or sets the names of the source database files to transfer.
公用屬性 SourceDatabaseName 基礎結構。Gets or sets the name of the source database to transfer.

上層

請參閱

參考

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