RuleActions.CopyToFolder Property

Definition

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

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

Property Value

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

Remarks

The CopyToFolder represents an action that copies a message to the specified folder.

The CopyToFolder 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