QueryService Class

The QueryService class is the entry point for calling the SharePoint Enterprise Search Query web service.

Inheritance Hierarchy

            [Search Web service].QueryService

Namespace:  [Search Web service]
Web service reference: http://Site/_vti_bin/Search.asmx


<WebServiceBindingAttribute(Name := "QueryServiceSoap", Namespace := "https://microsoft.com/webservices/OfficeServer/QueryService")> _
Public Class QueryService _
    Inherits SoapHttpClientProtocol
Dim instance As QueryService
[WebServiceBindingAttribute(Name = "QueryServiceSoap", Namespace = "https://microsoft.com/webservices/OfficeServer/QueryService")]
public class QueryService : SoapHttpClientProtocol


To access the Search Query web service and its methods, set a Web reference to:


You can find step-by-step instructions for this with Microsoft Visual Studio in the How to: Add a Web Reference to the Query Web Service topic.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


QueryService Members

Search Web Service