共用方式為


ScriptTask.ExecutionValue Property

Returns a user-defined object. This field is read-only.

命名空間: Microsoft.SqlServer.Dts.Tasks.ScriptTask
組件: Microsoft.SqlServer.ScriptTask (in microsoft.sqlserver.scripttask.dll)

語法

'宣告
Public Overrides ReadOnly Property ExecutionValue As Object
public override Object ExecutionValue { get; }
public:
virtual property Object^ ExecutionValue {
    Object^ get () override;
}
/** @property */
public Object get_ExecutionValue ()
public override function get ExecutionValue () : Object

屬性值

A user-defined object.

備註

The ExecutionValue property of the Task class is a read-only object property that gives the task the ability to return additional information about the results of task execution. For example, if a task deletes rows from a table as part of a call to its Execute method, the task might return the number of rows deleted as the ExecutionValue. Clients of the task could then use this value to establish precedence constraints between tasks.

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

ScriptTask Class
ScriptTask Members
Microsoft.SqlServer.Dts.Tasks.ScriptTask Namespace