Partager via


Propriété ExecutionValue

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

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.DMQueryTask
Assembly :  Microsoft.SqlServer.DMQueryTask (en Microsoft.SqlServer.DMQueryTask.dll)

Syntaxe

'Déclaration
Public Overrides ReadOnly Property ExecutionValue As Object
    Get
'Utilisation
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

Valeur de propriété

Type : System. . :: . .Object
A user-defined object.

Notes

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.