Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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 | |
|---|---|---|
![]() |
Action | Infrastructure. Gets or sets a value from the TransferAction enumeration indicating whether the task is copying or moving databases. |
![]() |
DestinationConnection | Infrastructure. Gets or sets the name of the connection manager for the destination database. |
![]() |
DestinationDatabaseFiles | Infrastructure. Gets or sets the name of the database files for the destination database. |
![]() |
DestinationDatabaseName | Infrastructure. Gets or sets the name of the database at the destination. |
![]() |
DestinationOverwrite | Infrastructure. Gets or sets a value that indicates whether the destination database can be overwritten if it exists. |
![]() |
Method | Infrastructure. Gets or sets a value from the TransferMethod enumeration indicating whether to use Online or Offline transfer method. |
![]() |
ReattachSourceDatabase | Infrastructure. Gets or sets a value that indicates whether the database should be reattached or not. |
![]() |
SourceConnection | Infrastructure. Gets or sets the name of the connection manager for the source database. |
![]() |
SourceDatabaseFiles | Infrastructure. Gets or sets the names of the source database files to transfer. |
![]() |
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
.gif)