QueryService class

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

Inheritance hierarchy

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Web.Services.Protocols.WebClientProtocol
        System.Web.Services.Protocols.HttpWebClientProtocol
          System.Web.Services.Protocols.SoapHttpClientProtocol
            WebSvcspsearch.QueryService

Namespace:  WebSvcspsearch
Assembly:  STSSOAP (in STSSOAP.dll)

Syntax

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

Remarks

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

http://Server_Name/[sites]/[Site_Name]/_vti_bin/spsearch.asmx

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

Reference

QueryService members

WebSvcspsearch namespace