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 命名空间