WorkflowAncestorReferenceExpression.Evaluate Method
Evaluates the WorkflowAncestorReferenceExpression.
Namespace: Microsoft.SharePoint.WorkflowActions
Assembly: Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)
Syntax
'Declaration
Public Function Evaluate ( _
execution As RuleExecution _
) As RuleExpressionResult
'Usage
Dim instance As WorkflowAncestorReferenceExpression
Dim execution As RuleExecution
Dim returnValue As RuleExpressionResult
returnValue = instance.Evaluate(execution)
public RuleExpressionResult Evaluate(
RuleExecution execution
)
Parameters
execution
Type: System.Workflow.Activities.Rules.RuleExecutionAn object that is used to get the root activity on which to execute the expression.
Return Value
Type: System.Workflow.Activities.Rules.RuleExpressionResult
The result of the rule evaluation.
Implements
IRuleExpression.Evaluate(RuleExecution)
Remarks
This method evaluates the WorkflowAncestorReferenceExpression.
See Also
Reference
WorkflowAncestorReferenceExpression Class