Share via


ITransferDatabaseTask Interface

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

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

The ITransferDatabaseTask type exposes the following members.

Properties

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

Top

See Also

Reference

Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask Namespace