ExchangeService.BeginSearchMailboxes Method

Definition

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.

public:
 IAsyncResult ^ BeginSearchMailboxes(AsyncCallback ^ callback, System::Object ^ state, Microsoft::Exchange::WebServices::Data::SearchMailboxesParameters ^ searchParameters);
public IAsyncResult BeginSearchMailboxes (AsyncCallback callback, object state, Microsoft.Exchange.WebServices.Data.SearchMailboxesParameters searchParameters);
Public Function BeginSearchMailboxes (callback As AsyncCallback, state As Object, searchParameters As SearchMailboxesParameters) As IAsyncResult

Parameters

callback
AsyncCallback

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

state
Object

An object that contains state information for this request.

Returns

An object that references the asynchronous request.

Applies to