ExchangeService.MoveItems method (IEnumerable<ItemId>, FolderId)

Moves multiple items in a single call to Exchange Web Services (EWS).

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public ServiceResponseCollection<MoveCopyItemResponse> MoveItems(
	IEnumerable<ItemId> itemIds,
	FolderId destinationFolderId


Type: System.Collections.Generic.IEnumerable<ItemId>

The IDs of the items to be moved

Type: Microsoft.Exchange.WebServices.Data.FolderId

The ID of the folder to which the specified items are to be moved.

Return value

Type: Microsoft.Exchange.WebServices.Data.ServiceResponseCollection<MoveCopyItemResponse>
A collection of copy results for each of the specified items.

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