QueryService class
NOTE: This API is now obsolete.
Para acessar o serviço Web de consulta de pesquisa e seus métodos, use a classe websvcSearch .
Inheritance hierarchy
System.Object
System.ComponentModel.MarshalByValueComponent
System.Web.Services.WebService
Microsoft.Office.Server.Search.Query.QueryService
Namespace: Microsoft.Office.Server.Search.Query
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaração
<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
'Uso
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
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.