Интерфейс 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