ExpressionNode.Evaluate Method (FacetEvaluationContext, Boolean)

Evaluates the expression node with the given facet context and checks the script as a proxy.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
Public Function Evaluate ( _
    context As FacetEvaluationContext, _
    checkSqlScriptAsProxy As Boolean _
) As Object
'Usage
Dim instance As ExpressionNode
Dim context As FacetEvaluationContext
Dim checkSqlScriptAsProxy As Boolean
Dim returnValue As Object

returnValue = instance.Evaluate(context, _
    checkSqlScriptAsProxy)
public Object Evaluate(
    FacetEvaluationContext context,
    bool checkSqlScriptAsProxy
)
public:
Object^ Evaluate(
    FacetEvaluationContext^ context, 
    bool checkSqlScriptAsProxy
)
member Evaluate : 
        context:FacetEvaluationContext * 
        checkSqlScriptAsProxy:bool -> Object 
public function Evaluate(
    context : FacetEvaluationContext, 
    checkSqlScriptAsProxy : boolean
) : Object

Parameters

  • checkSqlScriptAsProxy
    Type: System.Boolean
    A Boolean value that specifies whether to check the script as a proxy.

Return Value

Type: System.Object
A Object value that is the object specified by the evaluation.