MoveOrCopyRuleAction.Folder Property (Outlook)

Returns or sets a Folder object that represents the folder to which the rule moves or copies the message. Read/write.

Version Information

Version Added: Outlook 2007

Syntax

expression .Folder

expression A variable that represents a MoveOrCopyRuleAction object.

Remarks

If no folder has been assigned to the move or copy rule action, this property is Null (Nothing in Visual Basic).

This property returns an error if the specified folder cannot serve as a target folder for the copy or move operation. For example, the folder is a search folder, is read-only, or the user does not have the required permissions to move or copy messages to it.

See Also

Concepts

MoveOrCopyRuleAction Object Members

MoveOrCopyRuleAction Object