Expand Minimize

ExchangeService.BeginSearchMailboxes method

Initiates an asynchronous request to search mailboxes for items that match a query string by using the associated SearchMailboxesParameters object to specify details of the search request.

The BeginSearchMailboxes(AsyncCallback, Object, SearchMailboxesParameters) 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 IAsyncResult BeginSearchMailboxes(
	AsyncCallback callback,
	Object state,
	SearchMailboxesParameters searchParameters
)

Parameters

callback
Type: System.AsyncCallback

A reference to the method to call when the corresponding asynchronous operation completes.

state
Type: System.Object

An object that contains state information for this request.

searchParameters
Type: Microsoft.Exchange.WebServices.Data.SearchMailboxesParameters

A SearchMailboxesParameters object.

Return value

Type: System.IAsyncResult
An object that references the asynchronous request.
Show:
© 2014 Microsoft