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)

'Declaration
Public Function GetSearchableMailboxes ( _
	searchFilter As String, _
	expandGroupMembership As Boolean _
) As GetSearchableMailboxesResponse
'Usage
Dim instance As ExchangeService
Dim searchFilter As String
Dim expandGroupMembership As Boolean
Dim returnValue As GetSearchableMailboxesResponse

returnValue = instance.GetSearchableMailboxes(searchFilter, _
	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:
© 2015 Microsoft