Classe TransferDatabaseTask
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.
Spazio dei nomi: Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask
Assembly: Microsoft.SqlServer.TransferDatabasesTask (in Microsoft.SqlServer.TransferDatabasesTask.dll)
Sintassi
'Dichiarazione
<GuidAttribute("D9E9F0F6-7771-4596-BC26-2A8BE222CB56")> _
Public NotInheritable Class TransferDatabaseTask _
Inherits Task _
Implements ITransferDatabaseTask, IDTSComponentPersist
'Utilizzo
Dim instance As TransferDatabaseTask
[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
[<SealedAttribute>]
[<GuidAttribute("D9E9F0F6-7771-4596-BC26-2A8BE222CB56")>]
type TransferDatabaseTask =
class
inherit Task
interface ITransferDatabaseTask
interface IDTSComponentPersist
end
public final class TransferDatabaseTask extends Task implements ITransferDatabaseTask, IDTSComponentPersist
Osservazioni
The transfer can occur between databases of the same version, or to a higher version. For more information, see Attività Trasferisci database.
Gerarchia di ereditarietà
System. . :: . .Object
Microsoft.SqlServer.Dts.Runtime. . :: . .DtsObject
Microsoft.SqlServer.Dts.Runtime. . :: . .Task
Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask..::..TransferDatabaseTask
Thread Safety
Tutti i membri pubblici static (Shared in Visual Basic) di questo tipo sono thread safe. I membri di istanza non hanno garanzia di essere thread safe.
Vedere anche