Rediger

Del via


Rule object (Outlook)

Represents an Outlook rule.

Remarks

Both client and server side rules are represented by the Rule object.

The Rules object model consists primarily of these objects: Rules, Rule, RuleActions, RuleConditions, RuleAction, RuleCondition, and the derived objects for certain rule actions and rule conditions. It provides partial parity with the Rules and Alerts Wizard in the Outlook user interface. Although it does not support creation of every single rule that you can possibly create using the Wizard, it supports the most commonly used rule actions and conditions.

For more information on how to programmatically create, edit, and delete rules, see Manage Rules in the Outlook Object Model and How to: Create a Rule to Move Specific Emails to a Folder.

Methods

Name
Execute

Properties

Name
Actions
Application
Class
Conditions
Enabled
Exceptions
ExecutionOrder
IsLocalRule
Name
Parent
RuleType
Session

See also

Rule Object Members Outlook Object Model Reference

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.