ITransferDatabaseTask.Action 属性
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Gets or sets a value from the TransferAction enumeration indicating whether the task is copying or moving databases.
命名空间: Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask
程序集: Microsoft.SqlServer.TransferDatabasesTask(在 Microsoft.SqlServer.TransferDatabasesTask.dll 中)
语法
声明
<TypeConverterAttribute(GetType(ActionTypeConverter))> _
Property Action As TransferAction
Get
Set
用法
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)
属性值
类型:Microsoft.SqlServer.Dts.Tasks.TransferDatabaseTask.TransferAction
A value from the TransferAction enumeration that indicates a move or copy action.