ExchangeService.BeginSearchMailboxes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- searchParameters
- SearchMailboxesParameters
A SearchMailboxesParameters object.
Returns
An object that references the asynchronous request.