共用方式為


Evaluate 方法 (FacetEvaluationContext, Boolean)

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

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
Public Function Evaluate ( _
    context As FacetEvaluationContext, _
    checkSqlScriptAsProxy As Boolean _
) As Object
'用途
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

參數

傳回值

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