Share via


ExpressionEval.Evaluate Method

Evaluates the expression and returns the yield.

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

Syntax

'Declaration
Public Function Evaluate ( _
    vars As IDTSVariableDispenser100, _
    assign As Boolean _
) As Object
'Usage
Dim instance As ExpressionEval 
Dim vars As IDTSVariableDispenser100 
Dim assign As Boolean 
Dim returnValue As Object 

returnValue = instance.Evaluate(vars, _
    assign)
public Object Evaluate(
    IDTSVariableDispenser100 vars,
    bool assign
)
public:
Object^ Evaluate(
    IDTSVariableDispenser100^ vars, 
    bool assign
)
member Evaluate : 
        vars:IDTSVariableDispenser100 * 
        assign:bool -> Object
public function Evaluate(
    vars : IDTSVariableDispenser100, 
    assign : boolean
) : Object

Parameters

  • assign
    Type: System.Boolean
    true to indicate that the expression value is assigned to a property; otherwise, false.

Return Value

Type: System.Object
The Object value that describes the yield of the evaluation.

See Also

Reference

ExpressionEval Class

Microsoft.SqlServer.Dts.Tasks.ExpressionTask Namespace