ExchangeService.EnableAlwaysDeleteItemsInConversations Method

Definition

Enables the automatic moving of items from a specified conversation to the Deleted Items folder.

public:
 Microsoft::Exchange::WebServices::Data::ServiceResponseCollection<Microsoft::Exchange::WebServices::Data::ServiceResponse ^> ^ EnableAlwaysDeleteItemsInConversations(System::Collections::Generic::IEnumerable<Microsoft::Exchange::WebServices::Data::ConversationId ^> ^ conversationId, bool processSynchronously);
public Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<Microsoft.Exchange.WebServices.Data.ServiceResponse> EnableAlwaysDeleteItemsInConversations (System.Collections.Generic.IEnumerable<Microsoft.Exchange.WebServices.Data.ConversationId> conversationId, bool processSynchronously);
Public Function EnableAlwaysDeleteItemsInConversations (conversationId As IEnumerable(Of ConversationId), processSynchronously As Boolean) As ServiceResponseCollection(Of ServiceResponse)

Parameters

conversationId
IEnumerable<ConversationId>

The conversation identifier.

processSynchronously
Boolean

true if the method returns after it has finished enabling the automatic moving of items from the specified conversation to the Deleted Items folder and has moved existing items from the conversation to the Deleted Items folder; otherwise, false to indicate that the method is to return immediately.

Returns

A collection of responses.

Remarks

Calling this method results in a call to Exchange Web Services (EWS).

Applies to