QueryService 类 (websvcSearch)
The QueryService class is the entry point for calling the Microsoft Office SharePoint Server 2007 企业级搜索 Query web service.
命名空间: websvcSearch
程序集: MOSSSOAP (在 mosssoap.dll 中)
语法
声明
<WebServiceBindingAttribute(Name:="QueryServiceSoap", Namespace:="https://microsoft.com/webservices/OfficeServer/QueryService")> _
<DesignerCategoryAttribute("code")> _
<GeneratedCodeAttribute("wsdl", "2.0.50727.42")> _
<DebuggerStepThroughAttribute> _
Public Class QueryService
Inherits SoapHttpClientProtocol
用法
Dim instance As QueryService
[WebServiceBindingAttribute(Name="QueryServiceSoap", Namespace="https://microsoft.com/webservices/OfficeServer/QueryService")]
[DesignerCategoryAttribute("code")]
[GeneratedCodeAttribute("wsdl", "2.0.50727.42")]
[DebuggerStepThroughAttribute]
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/search.asmx
You can find step-by-step instructions for this with Visual Studio 2005 in the 如何:在 Visual Studio 2005 中创建用于企业级搜索查询 Web 服务的 Web 服务代理类 topic.
继承层次结构
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Web.Services.Protocols.WebClientProtocol
System.Web.Services.Protocols.HttpWebClientProtocol
System.Web.Services.Protocols.SoapHttpClientProtocol
websvcSearch.QueryService
线程安全性
此类型的任何公共静态(在 Visual Basic 中共享)成员是线程安全的。不保证任何实例成员都是线程安全的。