Edit

Share via


ExchangeService.MoveItemsInConversations Method

Definition

Moves items from a specified conversation to a specified destination folder.

public:
 Microsoft::Exchange::WebServices::Data::ServiceResponseCollection<Microsoft::Exchange::WebServices::Data::ServiceResponse ^> ^ MoveItemsInConversations(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<Microsoft::Exchange::WebServices::Data::ConversationId ^, Nullable<DateTime>>> ^ idLastSyncTimePairs, Microsoft::Exchange::WebServices::Data::FolderId ^ contextFolderId, Microsoft::Exchange::WebServices::Data::FolderId ^ destinationFolderId);
public Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<Microsoft.Exchange.WebServices.Data.ServiceResponse> MoveItemsInConversations (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Microsoft.Exchange.WebServices.Data.ConversationId,Nullable<DateTime>>> idLastSyncTimePairs, Microsoft.Exchange.WebServices.Data.FolderId contextFolderId, Microsoft.Exchange.WebServices.Data.FolderId destinationFolderId);
Public Function MoveItemsInConversations (idLastSyncTimePairs As IEnumerable(Of KeyValuePair(Of ConversationId, Nullable(Of DateTime))), contextFolderId As FolderId, destinationFolderId As FolderId) As ServiceResponseCollection(Of ServiceResponse)

Parameters

idLastSyncTimePairs
IEnumerable<KeyValuePair<ConversationId,Nullable<DateTime>>>

The identifier of the conversation whose items are to be moved, and the date and time that the conversation was last synchronized. Items that were received after that date will not be moved.

contextFolderId
FolderId

The folder identifier of the folder that contains the specified conversation.

destinationFolderId
FolderId

The destination folder identifier.

Returns

A collection of responses.

Remarks

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

Applies to