ExpressionNode.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
参数
- context
类型:Microsoft.SqlServer.Management.Facets.FacetEvaluationContext
A FacetEvaluationContext value that specifies the facet evaluation context.
- checkSqlScriptAsProxy
类型:System.Boolean
A Boolean value that specifies whether to check the script as a proxy.
返回值
类型:System.Object
A Object value that is the object specified by the evaluation.