Share via


TransferDatabaseTask.Action Property

Gets or sets a value from the TransferAction enumeration indicating whether the Transfer Database task is copying or moving databases.

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

Syntax

'Declaration
Public Property Action As TransferAction
    Get
    Set
'Usage
Dim instance As TransferDatabaseTask
Dim value As TransferAction

value = instance.Action

instance.Action = value
public TransferAction Action { get; set; }
public:
virtual property TransferAction Action {
    TransferAction get () sealed;
    void set (TransferAction value) sealed;
}
abstract Action : TransferAction with get, set
override Action : TransferAction with get, set
final function get Action () : TransferAction
final function set Action (value : TransferAction)

Property Value

Type: Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask.TransferAction
A value from the TransferAction enumeration that indicates a move or copy action.

Implements

ITransferDatabaseTask.Action