_RuleActions.Redirect Property

Definition

Returns a SendRuleAction object with ActionType being olRuleActionRedirect. Read-only.

public:
 property Microsoft::Office::Interop::Outlook::SendRuleAction ^ Redirect { Microsoft::Office::Interop::Outlook::SendRuleAction ^ get(); };
public Microsoft.Office.Interop.Outlook.SendRuleAction Redirect { get; }
Public ReadOnly Property Redirect As SendRuleAction

Property Value

Remarks

Use the returned SendRuleAction object when enumerating the rule actions of an existing rule or when creating a new rule that specifies redirecting a message to specific recipients as an action.

This property of the RuleActions collection always returns a SendRuleAction object regardless of whether the rule associated with this RuleActions collection has defined such a rule action. If the rule has defined and enabled such a rule action, then Enabled will be True.

Applies to