Share via


ITransferDatabaseTask.Action Property

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

Gets or sets a value from the TransferAction enumeration indicating whether the 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))> _
Property Action As TransferAction 
    Get 
    Set
'Usage
Dim instance As ITransferDatabaseTask 
Dim value As TransferAction 

value = instance.Action

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

See Also

Reference

ITransferDatabaseTask Interface

Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask Namespace