QueryService 类
请注意:此 API 现在已过时。
若要访问该搜索查询 Web 服务,它的方法,使用websvcSearch类。
继承层次结构
System.Object
System.ComponentModel.MarshalByValueComponent
System.Web.Services.WebService
Microsoft.Office.Server.Search.Query.QueryService
命名空间: Microsoft.Office.Server.Search.Query
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
<WebServiceAttribute(Namespace := "https://microsoft.com/webservices/OfficeServer/QueryService", _
Description := "Microsoft Search Server 2013 Query Web Service")> _
<ScriptServiceAttribute> _
<WebServiceBindingAttribute(ConformsTo := WsiProfiles.BasicProfile1_1)> _
<ObsoleteAttribute("This class is obsolete.")> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class QueryService _
Inherits WebService
用法
Dim instance As QueryService
[WebServiceAttribute(Namespace = "https://microsoft.com/webservices/OfficeServer/QueryService",
Description = "Microsoft Search Server 2013 Query Web Service")]
[ScriptServiceAttribute]
[WebServiceBindingAttribute(ConformsTo = WsiProfiles.BasicProfile1_1)]
[ObsoleteAttribute("This class is obsolete.")]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class QueryService : WebService
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。