Partager via


Action propriété

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

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask
Assembly :  Microsoft.SqlServer.TransferDatabasesTask (dans Microsoft.SqlServer.TransferDatabasesTask.dll)

Syntaxe

'Déclaration
Public Property Action As TransferAction
    Get
    Set
'Utilisation
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)

Valeur de la propriété

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

Implémente

ITransferDatabaseTask. . :: . .Action