Edit

Share via


RuleActions.MoveToFolder Property

Definition

Gets or sets the ID of the folder that e-mail items will be moved to.

public:
 property Microsoft::Exchange::WebServices::Data::FolderId ^ MoveToFolder { Microsoft::Exchange::WebServices::Data::FolderId ^ get(); void set(Microsoft::Exchange::WebServices::Data::FolderId ^ value); };
public Microsoft.Exchange.WebServices.Data.FolderId MoveToFolder { get; set; }
Public Property MoveToFolder As FolderId

Property Value

An ID that identifies the folder that the e-mail will be moved to.

Remarks

The MoveToFolder property represents an action that moves a message to the specified folder.

The MoveToFolder property is returned with the RuleActions class regardless of whether the rule that is associated with this RuleActions class has defined such a rule action. If the rule has defined and enabled such a rule action, this property will be non-null.

Applies to