Condividi tramite


Proprietà TransferDatabaseTask.Action

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask
Assembly:  Microsoft.SqlServer.TransferDatabasesTask (in Microsoft.SqlServer.TransferDatabasesTask.dll)

Sintassi

'Dichiarazione
<TypeConverterAttribute(GetType(ActionTypeConverter))> _
Public Property Action As TransferAction 
    Get 
    Set
'Utilizzo
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)

Valore proprietà

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

Implementa

ITransferDatabaseTask.Action

Vedere anche

Riferimento

TransferDatabaseTask Classe

Spazio dei nomi Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask