Share via


SharePointSearchRuntime.SendRequest Method (String)

Submits the search query to the SharePoint sites location, and retrieves the search results based on the specified query.

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 _
) As XmlDocument
'Usage
Dim instance As SharePointSearchRuntime
Dim query As String
Dim returnValue As XmlDocument

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

Parameters

  • query
    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

SharePointSearchRuntime Class

SharePointSearchRuntime Members

SendRequest Overload

Microsoft.Office.Server.Search.Query Namespace