Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

QueryService Class

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

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

[WebServiceBindingAttribute(Name = "QueryServiceSoap", Namespace = "http://microsoft.com/webservices/SharePoint/QueryService")]
public class QueryService : SoapHttpClientProtocol

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

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