RuleActions.Delete 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 moved to the Deleted Items folder.
public:
property bool Delete { bool get(); void set(bool value); };
public bool Delete { get; set; }
Public Property Delete As Boolean
Property Value
true if the e-mail message is to be moved to the Deleted Items folder; otherwise, false. The default value is false.
Remarks
The Delete property represents an action that moves a message to the Deleted Items folder. To delete a message without saving it to the Deleted Items folder, use the PermanentDelete property.
The Delete 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.