MoveOrCopyRuleAction Object (Outlook)

Represents an action that moves or copies a message.

Version Information

Version Added: Outlook 2007

Remarks

MoveOrCopyRuleAction is derived from the RuleAction object. Each rule is associated with a RuleActions object which has a CopyToFolder property and a MoveToFolder property. Each of these properties always returns a MoveOrCopyRuleAction object. MoveOrCopyRuleAction.ActionType distinguishes between the two action types. If the rule has an enabled rule action that copies or moves a message to the specified folder, then the corresponding MoveOrCopyRuleAction.Enabled would be True.

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

See Also

Concepts

MoveOrCopyRuleAction Object Members

Outlook Object Model Reference