Partager via


OpenSearchRuntime.SendRequest Method (String)

Submits a synchronous request for the query to the OpenSearch federated location, and retrieves the search results.

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

Syntax

'Declaration
Public Function SendRequest ( _
    queryURL As String _
) As XmlDocument
'Usage
Dim instance As OpenSearchRuntime
Dim queryURL As String
Dim returnValue As XmlDocument

returnValue = instance.SendRequest(queryURL)
public XmlDocument SendRequest(
    string queryURL
)

Parameters

  • queryURL
    Type: System.String

    A string containing the location URL and the search query.

Return Value

Type: System.Xml.XmlDocument
The search results returned for the query.

Implements

ILocationRuntime.SendRequest(String)

See Also

Reference

OpenSearchRuntime Class

OpenSearchRuntime Members

SendRequest Overload

Microsoft.Office.Server.Search.Query Namespace