Share via


ExecuteProcess.ExecutionValue Property

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

Namespace:  Microsoft.SqlServer.Dts.Tasks.ExecuteProcess
Assembly:  Microsoft.SqlServer.ExecProcTask (in Microsoft.SqlServer.ExecProcTask.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property ExecutionValue As Object 
    Get
'Usage
Dim instance As ExecuteProcess 
Dim value As Object 

value = instance.ExecutionValue
public override Object ExecutionValue { get; }
public:
virtual property Object^ ExecutionValue {
    Object^ get () override;
}
abstract ExecutionValue : Object 
override ExecutionValue : Object
override function get ExecutionValue () : Object

Property Value

Type: System.Object
A user-defined object.

Remarks

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.

See Also

Reference

ExecuteProcess Class

Microsoft.SqlServer.Dts.Tasks.ExecuteProcess Namespace