Partager via


Interface ITransferDatabaseTask

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Represents a transfer database task.

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask
Assembly :  Microsoft.SqlServer.TransferDatabasesTask (en Microsoft.SqlServer.TransferDatabasesTask.dll)

Syntaxe

'Déclaration
Public Interface ITransferDatabaseTask
'Utilisation
Dim instance As ITransferDatabaseTask
public interface ITransferDatabaseTask
public interface class ITransferDatabaseTask
type ITransferDatabaseTask =  interface end
public interface ITransferDatabaseTask

Le type ITransferDatabaseTask expose les membres suivants.

Propriétés

  Nom Description
Propriété publique Action Infrastructure. Gets or sets a value from the TransferAction enumeration indicating whether the task is copying or moving databases.
Propriété publique DestinationConnection Infrastructure. Gets or sets the name of the connection manager for the destination database.
Propriété publique DestinationDatabaseFiles Infrastructure. Gets or sets the name of the database files for the destination database.
Propriété publique DestinationDatabaseName Infrastructure. Gets or sets the name of the database at the destination.
Propriété publique DestinationOverwrite Infrastructure. Gets or sets a value that indicates whether the destination database can be overwritten if it exists.
Propriété publique Method Infrastructure. Gets or sets a value from the TransferMethod enumeration indicating whether to use Online or Offline transfer method.
Propriété publique ReattachSourceDatabase Infrastructure. Gets or sets a value that indicates whether the database should be reattached or not.
Propriété publique SourceConnection Infrastructure. Gets or sets the name of the connection manager for the source database.
Propriété publique SourceDatabaseFiles Infrastructure. Gets or sets the names of the source database files to transfer.
Propriété publique SourceDatabaseName Infrastructure. Gets or sets the name of the source database to transfer.

Haut de la page

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask