_Conversation.StopAlwaysDelete(Store) Method
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.
Stops the action of always moving conversation items in the specified store to the Deleted Items folder in that store.
public:
void StopAlwaysDelete(Microsoft::Office::Interop::Outlook::Store ^ Store);
public void StopAlwaysDelete (Microsoft.Office.Interop.Outlook.Store Store);
Parameters
- Store
- Store
A Store object that represents the store to which the stop-always-delete action applies.
Remarks
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.