_Conversation.GetAlwaysDelete Method

Returns a constant in the OlAlwaysDeleteConversation enumeration that indicates whether all new items that join 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)

Syntax

'Declaration
<DispIdAttribute()> _
Function GetAlwaysDelete ( _
    Store As Store _
) As OlAlwaysDeleteConversation
'Usage
Dim instance As _Conversation
Dim Store As Store
Dim returnValue As OlAlwaysDeleteConversation

returnValue = instance.GetAlwaysDelete(Store)
[DispIdAttribute()]
OlAlwaysDeleteConversation GetAlwaysDelete(
    Store Store
)

Parameters

Return Value

Type: Microsoft.Office.Interop.Outlook.OlAlwaysDeleteConversation
A constant from the OlAlwaysDeleteConversation enumeration that indicates whether all new items of the conversation are always moved to the Deleted Items folder of the specified delivery store.

Remarks

If the Store parameter specifies a non-delivery store such as an archive .pst store, the GetAlwaysDelete method returns a constant from OlAlwaysDeleteConversation that applies to conversation items in the default delivery store. Items on a non-delivery store are not moved to the Deleted Items folder for the default delivery store.

If GetAlwaysDelete returns olAlwaysDelete, items of the conversation are always moved to the Deleted Items folder for the store that contains the items. In a cross-store conversation, items are moved to the Deleted Items folder for the store that contains the items. When GetAlwaysDelete returns olAlwaysDelete, the GetAlwaysMoveToFolder(Store) method returns a Folder object that represents the Deleted Items folder for the default store.

If GetAlwaysDelete returns olAlwaysDeleteUnsupported, the specified store does not support the action of always moving items to the Deleted Items folder of that store.

If GetAlwaysDelete returns olDoNotDelete, new items that arrive in the conversation are not moved to the Deleted Items folder on the specified delivery store, and existing conversation items in the Deleted Items folder are moved to the Inbox.

See Also

Reference

_Conversation Interface

_Conversation Members

Microsoft.Office.Interop.Outlook Namespace