Jaa


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.

Namespace: Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask
Assembly: Microsoft.SqlServer.TransferDatabasesTask (in microsoft.sqlserver.transferdatabasestask.dll)

Syntax

'Declaration
<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

Remarks

The transfer can occur between databases of the same version, or to a higher version. For more information, see Transfer Database Task.

Inheritance Hierarchy

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

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

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