3 out of 4 rated this helpful - Rate this topic

ExchangeService.SetHoldOnMailboxes method (String, HoldAction, String, String[])

EWS Managed API

Sets a query-based hold on items on a collection of mailboxes for the purpose of eDiscovery.

The SetHoldOnMailboxes(String, HoldAction, String, []) 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(
	string holdId,
	HoldAction actionType,
	string query,
	string[] mailboxes
)

Parameters

holdId
Type: System.String
The hold ID for an eDiscovery hold action.
actionType
Type: Microsoft.Exchange.WebServices.Data.HoldAction
The type of hold action.
query
Type: System.String
The query used to specify an eDiscovery hold.
mailboxes
Type: []
The collection of mailboxes.

Return value

Type: Microsoft.Exchange.WebServices.Data.SetHoldOnMailboxesResponse
The results of a query-based hold.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.