Condividi tramite


Proprietà DMQueryTask.ExecutionValue

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

Spazio dei nomi  Microsoft.SqlServer.Dts.Tasks.DMQueryTask
Assembly:  Microsoft.SqlServer.DMQueryTask (in Microsoft.SqlServer.DMQueryTask.dll)

Sintassi

'Dichiarazione
Public Overrides ReadOnly Property ExecutionValue As Object 
    Get
'Utilizzo
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

Valore proprietà

Tipo: System.Object
A user-defined object.

Osservazioni

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.

Vedere anche

Riferimento

DMQueryTask Classe

Spazio dei nomi Microsoft.SqlServer.Dts.Tasks.DMQueryTask