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
<TypeConverterAttribute(GetType(ActionTypeConverter))> _
Public Property Action As TransferAction 
    Get 
    Set
'Usage
Dim instance As TransferDatabaseTask 
Dim value As TransferAction 

value = instance.Action

instance.Action = value
[TypeConverterAttribute(typeof(ActionTypeConverter))]
public TransferAction Action { get; set; }
[TypeConverterAttribute(typeof(ActionTypeConverter))]
public:
virtual property TransferAction Action {
    TransferAction get () sealed;
    void set (TransferAction value) sealed;
}
[<TypeConverterAttribute(typeof(ActionTypeConverter))>]
abstract Action : TransferAction with get, set
[<TypeConverterAttribute(typeof(ActionTypeConverter))>]
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

See Also

Reference

TransferDatabaseTask Class

Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask Namespace