ExchangeService.SetHoldOnMailboxes method (SetHoldOnMailboxesParameters)

EWS Managed API

Sets a query-based hold on items in one or more mailboxes for the purpose of eDiscovery.

The SetHoldOnMailboxes(SetHoldOnMailboxesParameters) method is applicable for clients that target Exchange Online and versions of Exchange starting with Exchange Server 2013.

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

public SetHoldOnMailboxesResponse SetHoldOnMailboxes(
	SetHoldOnMailboxesParameters parameters


Type: Microsoft.Exchange.WebServices.Data.SetHoldOnMailboxesParameters

A set of parameters for the hold.

Return value

Type: Microsoft.Exchange.WebServices.Data.SetHoldOnMailboxesResponse
The result of a query-based hold.
© 2014 Microsoft