共用方式為


TransferDatabaseTask.Action 屬性

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

命名空間:  Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask
組件:  Microsoft.SqlServer.TransferDatabasesTask (在 Microsoft.SqlServer.TransferDatabasesTask.dll 中)

語法

'宣告
<TypeConverterAttribute(GetType(ActionTypeConverter))> _
Public Property Action As TransferAction 
    Get 
    Set
'用途
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)

屬性值

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

實作

ITransferDatabaseTask.Action

請參閱

參考

TransferDatabaseTask 類別

Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask 命名空間