StopAlwaysDelete Method
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

_Conversation.StopAlwaysDelete Method

Stops the action of always moving conversation items in the specified store to the Deleted Items folder in that store.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

void StopAlwaysDelete(
	Store Store


Type: Microsoft.Office.Interop.Outlook.Store

A Store object that represents the store to which the stop-always-delete action applies.

If the always-delete action has not been turned on (by calling the SetAlwaysDelete(OlAlwaysDeleteConversation, Store) method), StopAlwaysDelete does nothing.

If the always-delete action has been turned on, StopAlwaysDelete moves existing conversation items in the Deleted Items folder to the Inbox.

After calling the StopAlwaysDelete method for a conversation in a store, calling the GetAlwaysDelete(Store) method on that conversation and store returns the constant olDoNotDelete.

If the store specified by the Store parameter represents a non-delivery store such as an archive .pst store, the stop-always-delete action is applied to conversation items in the default delivery store.

Calling this method on a conversation that is already in the Deleted Items folder in the specified store returns an error.

© 2016 Microsoft