Partager via


RuleAction.Enabled Property (Outlook)

Returns or sets a Boolean that determines if the RuleAction is enabled. Read/write.

Version Information

Version Added: Outlook 2007

Syntax

expression .Enabled

expression A variable that represents a RuleAction object.

Remarks

After you enable a rule action, you must also save the rule by using Rules.Save so that the rule action and its enabled state will persist beyond the current session. A rule action is only enabled after it has been saved successfully.

Returns an error if you attempt to enable a rule action that is supported only on a rule of type olRuleSend for a rule of type olRuleReceive, or vice versa.

See Also

Concepts

RuleAction Object Members

RuleAction Object