共用方式為


QueryService Class

Inheritance Hierarchy

System.Object
  System.ComponentModel.MarshalByValueComponent
    System.Web.Services.WebService
      Microsoft.SharePoint.Search.Query.QueryService

Namespace:  Microsoft.SharePoint.Search.Query
Assembly:  Microsoft.SharePoint.Search (in Microsoft.SharePoint.Search.dll)

Syntax

<WebServiceBindingAttribute(ConformsTo := WsiProfiles.BasicProfile1_1)> _
<WebServiceAttribute(Namespace := "http://microsoft.com/webservices/SharePoint/QueryService",  _
    Description := "Microsoft Windows SharePoint Server 3.0 Search Query Web Service")> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class QueryService _
    Inherits WebService

Dim instance As QueryService
[WebServiceBindingAttribute(ConformsTo = WsiProfiles.BasicProfile1_1)]
[WebServiceAttribute(Namespace = "http://microsoft.com/webservices/SharePoint/QueryService", 
    Description = "Microsoft Windows SharePoint Server 3.0 Search Query Web Service")]
[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.

See Also

Reference

QueryService Members

Microsoft.SharePoint.Search.Query Namespace