ContactManager.BeginSearch method (String, AsyncCallback, Object)

Begins to search for contacts or distribution groups matching a specified search string. Results of the search are returned in the System.AsyncCallback you pass in the contactsAndGroupsCallback argument.

Namespace:  Microsoft.Lync.Model
Assembly:  Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)

Syntax

'Declaration
Public Function BeginSearch ( _
    searchString As String, _
    contactsAndGroupsCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As ContactManager
Dim searchString As String
Dim contactsAndGroupsCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginSearch(searchString, _
    contactsAndGroupsCallback, state)
public IAsyncResult BeginSearch(
    string searchString,
    AsyncCallback contactsAndGroupsCallback,
    Object state
)

Parameters

Return value

Type: System.IAsyncResult

See also

Reference

ContactManager class

ContactManager members

BeginSearch overload

Microsoft.Lync.Model namespace