Freigeben über


ITransferDatabaseTask-Schnittstelle

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

Represents a transfer database task.

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

Syntax

'Declaration
Public Interface ITransferDatabaseTask
'Usage
Dim instance As ITransferDatabaseTask
public interface ITransferDatabaseTask
public interface class ITransferDatabaseTask
type ITransferDatabaseTask =  interface end
public interface ITransferDatabaseTask

Der ITransferDatabaseTask-Typ macht folgende Elemente verfügbar.

Eigenschaften

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

Zum Anfang

Siehe auch

Verweis

Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask-Namespace