SharePointSearchRuntime.SendRequest method (String, ResultCallback)
Submits an asynchronous request for the query to the SharePoint sites 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
Public Function SendRequest ( _
query As String, _
callback As ResultCallback _
) As IAsyncResult
'Usage
Dim instance As SharePointSearchRuntime
Dim query As String
Dim callback As ResultCallback
Dim returnValue As IAsyncResult
returnValue = instance.SendRequest(query, _
callback)
public IAsyncResult SendRequest(
string query,
ResultCallback callback
)
Parameters
query
Type: System.StringA string containing the location URL and the search query.
callback
Type: Microsoft.Office.Server.Search.Query.ResultCallbackThe callback function.
Return value
Type: System.IAsyncResult
The status of the asynchronous request
Implements
ILocationRuntime.SendRequest(String, ResultCallback)