ExecuteProcess.ExecutionValue Property

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

命名空間: Microsoft.SqlServer.Dts.Tasks.ExecuteProcess
組件: Microsoft.SqlServer.ExecProcTask (in microsoft.sqlserver.execproctask.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 is a read-only object property that provides the task the ability to expose information regarding the results of its execution. The property can also be used to post messages or return the DTSExecResult return value. For example, if a task deletes rows from a table as part of its Execute method, it 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.

Tasks can override the base implementation of the ExecutionValue property, and override the value of the property that is set by the task during its Execute method.

執行緒安全性

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 的硬體和軟體需求>。

請參閱

參考

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