Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

ExchangeService.GetSearchableMailboxes method

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


Type: System.String

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

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.
© 2015 Microsoft