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

QueryPacket Element in Microsoft.Search.Query Schema

Last modified: April 21, 2010

Applies to: SharePoint Server 2010

In this article
Attributes
Child Elements
Parent Elements


<QueryPacket revision=integer xmlns=string>
</QueryPacket>

Attribute

Description

revision

Unsigned integer indicating the revision of the schema used in the request.

build

Optional String attribute. The build number for the client making the request.

xmlns

Optional String attribute. Specifies the URL to the XML schema that is used to validate the configuration file. The value for SharePoint Server search is "urn:Microsoft.Search.Query".

Following is an example of a request for the Query Web service, using the Microsoft.Search.Query Schema.

<QueryPacket xmlns='urn:Microsoft.Search.Query'>
  <Query>
    <Context>
      <QueryText language='en-US' type='STRING'>SharePoint</QueryText>
    </Context>
  </Query>
</QueryPacket>

Schema name: Microsoft.Search.Query

Applies to: QueryService.Query method (Microsoft.Search.Response.Document), QueryService.QueryEx method (DataSet Class)

Optional: No

Show:
© 2015 Microsoft