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. |
页首