Export (0) Print
Expand All

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
)

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.
Show:
© 2014 Microsoft