IExchangeRuleAction::GetAction

The GetAction method retrieves an action for the rule on a deferred action message.

HRESULT GetAction
  ULONG ulActionNumber,  
  LARGE_INTEGER * lpruleid,  
  LPACTION FAR * lppAction   
);
 

Parameters

ulActionNumber
Input parameter. A ULONG variable containing the index to this action. The first action is at position 0 (zero).
lpruleid
Output parameter. Points to a LARGE_INTEGER variable containing the identifier for the rule.
lppAction
Output parameter. Points to an ACTION structure containing the action that is to be taken on the message.

Return Values

See Return Values.

Remarks

To determine the number of actions, call ActionCount.

See Also

IExchangeRuleAction