此 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. |
上層
.gif)