Compartir a través de


TransferDatabaseTask Class

Allows the transfer of a database between a source and a destination server using two different methods: database online, and database offline. The task requires the use of an SMO Connection Manager.

Espacio de nombres: Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask
Ensamblado: Microsoft.SqlServer.TransferDatabasesTask (in microsoft.sqlserver.transferdatabasestask.dll)

Sintaxis

'Declaración
<GuidAttribute("D9E9F0F6-7771-4596-BC26-2A8BE222CB56")> _
Public NotInheritable Class TransferDatabaseTask
    Inherits Task
    Implements ITransferDatabaseTask, IDTSComponentPersist
[GuidAttribute("D9E9F0F6-7771-4596-BC26-2A8BE222CB56")] 
public sealed class TransferDatabaseTask : Task, ITransferDatabaseTask, IDTSComponentPersist
[GuidAttribute(L"D9E9F0F6-7771-4596-BC26-2A8BE222CB56")] 
public ref class TransferDatabaseTask sealed : public Task, ITransferDatabaseTask, IDTSComponentPersist
/** @attribute GuidAttribute("D9E9F0F6-7771-4596-BC26-2A8BE222CB56") */ 
public final class TransferDatabaseTask extends Task implements ITransferDatabaseTask, IDTSComponentPersist
GuidAttribute("D9E9F0F6-7771-4596-BC26-2A8BE222CB56") 
public final class TransferDatabaseTask extends Task implements ITransferDatabaseTask, IDTSComponentPersist

Notas

The transfer can occur between databases of the same version, or to a higher version. For more information, see Tarea Transferir bases de datos.

Inheritance Hierarchy

System.Object
   Microsoft.SqlServer.Dts.Runtime.DtsObject
     Microsoft.SqlServer.Dts.Runtime.Task
      Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask.TransferDatabaseTask

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

TransferDatabaseTask Members
Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask Namespace