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