Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetHoldOnMailboxes method (String, HoldAction, String, String[])

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

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


Type: System.String

The hold ID for an eDiscovery hold action.

Type: Microsoft.Exchange.WebServices.Data.HoldAction

The type of hold action.

Type: System.String

The query used to specify an eDiscovery hold.

Type: []

The collection of mailboxes.

Return value

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