Share via


DMQueryTask.ExecutionValue Property

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

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

Syntax

'Declaration
Public Overrides ReadOnly Property ExecutionValue As Object 
    Get
'Usage
Dim instance As DMQueryTask 
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, in addition to posting messages or returning 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 override the base implementation of the ExecutionValue property, and also override the value that is set by the task during its Execute method.

See Also

Reference

DMQueryTask Class

Microsoft.SqlServer.Dts.Tasks.DMQueryTask Namespace