RoomManager.BeginQueryRooms method

Generates a query to find existing group chat rooms specified by key word.

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

Syntax

'Declaration
Public Function BeginQueryRooms ( _
    keyword As String, _
    searchType As RoomSearchModeType, _
    roomManagerCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As RoomManager
Dim keyword As String
Dim searchType As RoomSearchModeType
Dim roomManagerCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginQueryRooms(keyword, _
    searchType, roomManagerCallback, _
    state)
public IAsyncResult BeginQueryRooms(
    string keyword,
    RoomSearchModeType searchType,
    AsyncCallback roomManagerCallback,
    Object state
)

Parameters

Return value

Type: System.IAsyncResult
System.IAsyncResult

Remarks

The collection of rooms returned as the query result can contain rooms that the user does not have permission to enter or post messages to.

See also

Reference

RoomManager class

RoomManager members

Microsoft.Lync.Model.Room namespace