Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

_Conversation.SetAlwaysDelete Method

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.

Namespace:  Microsoft.Office.Interop.Outlook
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)

Parameters

AlwaysDelete
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.
Store
Type: Microsoft.Office.Interop.Outlook.Store
A Store object that represents the store that contains the Deleted Items folder to which existing and new items of the conversation are to be moved.

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.