Edit

Share via


RuleActions.PermanentDelete Property

Definition

Gets or sets a value that indicates whether messages should be permanently deleted and not saved to the Deleted Items folder.

public:
 property bool PermanentDelete { bool get(); void set(bool value); };
public bool PermanentDelete { get; set; }
Public Property PermanentDelete As Boolean

Property Value

true if the e-mail message is to be permanently deleted; otherwise, false. The default value is false.

Remarks

The PermanentDelete property represents an action that permanently deletes a message. To delete a message after it has been saved to the recipient's mailbox, use the ActionDelete action.

The PermanentDelete 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 true.

Applies to