ExchangeService.EnableAlwaysDeleteItemsInConversations method
EWS Managed API
Enables the automatic moving of items from a specified conversation to the Deleted Items folder.
Assembly: Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)
'Declaration Public Function EnableAlwaysDeleteItemsInConversations ( _ conversationId As IEnumerable(Of ConversationId), _ processSynchronously As Boolean _ ) As ServiceResponseCollection(Of ServiceResponse) 'Usage Dim instance As ExchangeService Dim conversationId As IEnumerable(Of ConversationId) Dim processSynchronously As Boolean Dim returnValue As ServiceResponseCollection(Of ServiceResponse) returnValue = instance.EnableAlwaysDeleteItemsInConversations(conversationId, _ processSynchronously)
Parameters
- conversationId
- Type: System.Collections.Generic.IEnumerable<ConversationId>
The conversation identifier.
- processSynchronously
- Type: System.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.
Return value
Type: Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<ServiceResponse>A collection of responses.