Export (0) Print
Expand All

Task.ExecutionValue Property

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

function get ExecutionValue () : Object

Property Value

Type: 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 expose information regarding the results of its execution, 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 override the base implementation of the ExecutionValue property and a value that is set by the task during its Execute method.

The following code example creates the Send Mail task, which inherits from Task, and then displays the properties the task has inherited.

No code example is currently available or this language may not be supported.

Sample Output:

ExecutionValue:

Version: 0

WaitForMe: True

Community Additions

ADD
Show:
© 2014 Microsoft