Expand Minimize

ExchangeService.GetSearchableMailboxes method

EWS Managed API

Gets two lists of mailboxes: a list of mailboxes that could be searched and a list of mailboxes that could not be searched for the purpose of eDiscovery.

The GetSearchableMailboxes(String, Boolean) 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 GetSearchableMailboxesResponse GetSearchableMailboxes(
	string searchFilter,
	bool expandGroupMembership
)

Parameters

searchFilter
Type: System.String

A value used to refine a search such as an email address or a display name.

expandGroupMembership
Type: System.Boolean

true to expand group membership; otherwise, false.

Return value

Type: Microsoft.Exchange.WebServices.Data.GetSearchableMailboxesResponse
A collection of mailboxes that could be searched and a collection of mailboxes that could not be searched.
Show:
© 2014 Microsoft