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)

abstract ExecutionValue : Object with get
override ExecutionValue : Object with get

Property Value

Type: System.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:


Version: 0

WaitForMe: True

Return to top