Partager via


OlRuleActionType Enumeration

Specifies the type of rule action for a rule.

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

Syntax

'Declaration
Public Enumeration OlRuleActionType
'Usage
Dim instance As OlRuleActionType
public enum OlRuleActionType

Members

Member name Description
olRuleActionUnknown Unrecognized rule action.
olRuleActionMoveToFolder Rule action is to move the message to the specified folder.
olRuleActionAssignToCategory Rule action is to assign categories to the message.
olRuleActionDelete Rule action is to delete the message.
olRuleActionDeletePermanently Rule action is to permanently delete the message.
olRuleActionCopyToFolder Rule action is to copy the message to a specified folder.
olRuleActionForward Rule action is to forward the message to the specified recipients.
olRuleActionForwardAsAttachment Rule action is to forward the message as an attachment to the specified recipients.
olRuleActionRedirect Rule action is to redirect the message to the specified recipients.
olRuleActionServerReply Rule action is to request the server to reply with the specified mail item.
olRuleActionTemplate Rule action is to use the specified template (.oft) file as a form template.
olRuleActionFlagForActionInDays Rule action is to flag the message for action in the specified number of days.
olRuleActionFlagColor Rule action is to flag the message with a specified colored flag.
olRuleActionFlagClear Rule action is to clear the message flag.
olRuleActionImportance Rule action is to mark the message with the specified level of importance.
olRuleActionSensitivity Rule action is to mark the message with the specified level of sensitivity.
olRuleActionPrint Rule action is to print the message on the default printer.
olRuleActionPlaySound Rule action is to play a sound file.
olRuleActionStartApplication Rule action is to run an .exe file.
olRuleActionMarkRead Rule action is to mark the message as read.
olRuleActionRunScript Rule action is to run a script.
olRuleActionStop Rule action is to stop processing more rules.
olRuleActionCustomAction Rule action is to perform a custom action.
olRuleActionNewItemAlert Rule action is to display the specified text in the New Item Alert dialog box.
olRuleActionDesktopAlert Rule action is to display a desktop alert.
olRuleActionNotifyRead Rule action is to request read notification for the message being sent.
olRuleActionNotifyDelivery Rule action is to request delivery notification for the message being sent.
olRuleActionCcMessage Rule action is to cc the message to specified recipients.
olRuleActionDefer Rule action is to defer delivery of the message by the specified number of minutes.
olRuleActionMarkAsTask Rule action is to mark the message as a task.
olRuleActionClearCategories Rule action is to clear all the categories assigned to the message.

Remarks

The list of rule action types in this enumeration includes all the rule actions that the Rules and Alerts Wizard supports. Note that while you can programmatically enumerate all the rule actions for a rule, you can programmatically create a rule with only the most commonly used rule actions. For more information, see Specify Rule Actions.

See Also

Reference

Microsoft.Office.Interop.Outlook Namespace