RuleActions.PermanentDelete Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.