Share via


QueryResultBase.GetQueryResults Method

Override the GetQueryResults method of the QueryResultBase class if your derived class needs to support asynchronous queries.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Protected Overrides Function GetQueryResults ( _
    queryHandle As Object _
) As Object
'Usage
Dim queryHandle As Object
Dim returnValue As Object

returnValue = Me.GetQueryResults(queryHandle)
protected override Object GetQueryResults(
    Object queryHandle
)

Parameters

  • queryHandle
    Type: System.Object

    Object that contains the unique identifier for a query.

Return Value

Type: System.Object
Object that contains the results for the specified query. You can cast this object as a DataSet.

Remarks

Override the GetQueryResults method waits until the query with the specified identifier has completed execution before returning.

See Also

Reference

QueryResultBase Class

QueryResultBase Members

Microsoft.SharePoint.Portal.WebControls Namespace