TaskHost.ExecutionValue 속성

Gets the result of the task execution. This property is read-only.

네임스페이스:  Microsoft.SqlServer.Dts.Runtime
어셈블리:  Microsoft.SqlServer.ManagedDTS(Microsoft.SqlServer.ManagedDTS.dll)

구문

‘선언
Public ReadOnly Property ExecutionValue As Object 
    Get
‘사용 방법
Dim instance As TaskHost 
Dim value As Object 

value = instance.ExecutionValue
public Object ExecutionValue { get; }
public:
property Object^ ExecutionValue {
    Object^ get ();
}
member ExecutionValue : Object
function get ExecutionValue () : Object

속성 값

유형: System.Object
A user-defined object.

주의

The TaskHost exposes the ExecutionValue property through the ExecValueVariable property, which is used by the task to provide information about the results of execution. This property allows the user to map the ExecutionValue returned from the task to any variable visible to the task, which could then be used as the criteria for determining the next task executed in the control flow. 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.

참고 항목

참조

TaskHost 클래스

Microsoft.SqlServer.Dts.Runtime 네임스페이스