Share via


_RuleActions.Redirect Property

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

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
ReadOnly Property Redirect As SendRuleAction
    Get
'Usage
Dim instance As _RuleActions
Dim value As SendRuleAction

value = instance.Redirect
SendRuleAction Redirect { get; }

Property Value

Type: Microsoft.Office.Interop.Outlook.SendRuleAction

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 _SendRuleAction.Enabled will be True.

See Also

Reference

_RuleActions Interface

_RuleActions Members

Microsoft.Office.Interop.Outlook Namespace