Specifies a setting for the specified delivery store that indicates whether all existing items and all new items that arrive in the conversation are always moved to the Deleted Items folder in the specified delivery store.
Assembly: Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)
'Declaration <DispIdAttribute()> _ Sub SetAlwaysDelete ( _ AlwaysDelete As OlAlwaysDeleteConversation, _ Store As Store _ ) 'Usage Dim instance As _Conversation Dim AlwaysDelete As OlAlwaysDeleteConversation Dim Store As Store instance.SetAlwaysDelete(AlwaysDelete, _ Store)
- Type: Microsoft.Office.Interop.Outlook.OlAlwaysDeleteConversation
An OlAlwaysDeleteConversation constant that indicates whether all existing and new items that arrive in the conversation are always moved to the Deleted Folder of the store specified by the Store parameter.
The SetAlwaysDelete method operates on conversation items in the delivery store specified by the Store parameter. If the store specified by the Store parameter represents a non-delivery store such as an archive .pst store, the action is applied to conversation items in the default delivery store.
If the AlwaysDelete parameter is olAlwaysDelete, conversation items are moved to the Deleted Items folder for the specified store. In this case, the items are not permanently deleted, unless the user has specified a separate option to permanently delete items when Microsoft Outlook shuts down.
If SetAlwaysDelete returns olDoNotDelete, existing conversation items and new items that arrive in the conversation are not moved to the Deleted Items folder in the specified delivery store, and existing conversation items in the Deleted Items folder are moved to the Inbox.