Share via


ScriptTask.ExecutionValue Property

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

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

Syntax

'Declaration
Public Overrides ReadOnly Property ExecutionValue As Object 
    Get
'Usage
Dim instance As ScriptTask 
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 of the Task class is a read-only object property that gives the task the ability to return additional information about the results of task execution. For example, if a task deletes rows from a table as part of a call to its Execute method, the task 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.

See Also

Reference

ScriptTask Class

Microsoft.SqlServer.Dts.Tasks.ScriptTask Namespace