This documentation is archived and is not being maintained.

MarkAsTaskRuleAction Object (Outlook)

Represents an action that marks a message as a task.

Version Added: Outlook 2007

MarkAsTaskRuleAction is derived from the RuleAction object. Each rule is associated with a RuleActions object which has a MarkAsTask property. The MarkAsTask property always returns a MarkAsTaskRuleAction object. If the rule has an enabled rule action that marks a message as a task, then MarkAsTaskRuleAction.Enabled would be True.

For more information on specifying rule actions, see Specify Rule Actions.