Partager via


ILocationRuntime.SendRequest Method (String, ResultCallback)

Submits an asynchronous request for the query to the federated location, and retrieves the result for the asynchronous request.

Namespace:  Microsoft.Office.Server.Search.Query
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Function SendRequest ( _
    queryURL As String, _
    callback As ResultCallback _
) As IAsyncResult
'Usage
Dim instance As ILocationRuntime
Dim queryURL As String
Dim callback As ResultCallback
Dim returnValue As IAsyncResult

returnValue = instance.SendRequest(queryURL, _
    callback)
IAsyncResult SendRequest(
    string queryURL,
    ResultCallback callback
)

Parameters

  • queryURL
    Type: System.String

    A string containing the federated location URL and the search query.

Return Value

Type: System.IAsyncResult
The status of the asynchronous request.

See Also

Reference

ILocationRuntime Interface

ILocationRuntime Members

SendRequest Overload

Microsoft.Office.Server.Search.Query Namespace