Compartilhar via


Interface ITransferDatabaseTask

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

Represents a transfer database task.

Namespace:  Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask
Assembly:  Microsoft.SqlServer.TransferDatabasesTask (em Microsoft.SqlServer.TransferDatabasesTask.dll)

Sintaxe

'Declaração
Public Interface ITransferDatabaseTask
'Uso
Dim instance As ITransferDatabaseTask
public interface ITransferDatabaseTask
public interface class ITransferDatabaseTask
type ITransferDatabaseTask =  interface end
public interface ITransferDatabaseTask

O tipo ITransferDatabaseTask expõe os membros a seguir.

Propriedades

  Nome Descrição
Propriedade pública Action Infraestrutura. Gets or sets a value from the TransferAction enumeration indicating whether the task is copying or moving databases.
Propriedade pública DestinationConnection Infraestrutura. Gets or sets the name of the connection manager for the destination database.
Propriedade pública DestinationDatabaseFiles Infraestrutura. Gets or sets the name of the database files for the destination database.
Propriedade pública DestinationDatabaseName Infraestrutura. Gets or sets the name of the database at the destination.
Propriedade pública DestinationOverwrite Infraestrutura. Gets or sets a value that indicates whether the destination database can be overwritten if it exists.
Propriedade pública Method Infraestrutura. Gets or sets a value from the TransferMethod enumeration indicating whether to use Online or Offline transfer method.
Propriedade pública ReattachSourceDatabase Infraestrutura. Gets or sets a value that indicates whether the database should be reattached or not.
Propriedade pública SourceConnection Infraestrutura. Gets or sets the name of the connection manager for the source database.
Propriedade pública SourceDatabaseFiles Infraestrutura. Gets or sets the names of the source database files to transfer.
Propriedade pública SourceDatabaseName Infraestrutura. Gets or sets the name of the source database to transfer.

Início

Consulte também

Referência

Namespace Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask