2.2.3.155.3 Result (Search)

The Result element is an optional child element of the Store element in Search command responses that serves a container for an individual matching mailbox items. The Result element is present only if there are matching items.

Elements referenced in this section are defined in the Search namespace, except where otherwise indicated by the presence of a namespace prefix (as defined in section 2.2.4).

Command request/response

Parent elements

Child elements

Data type

Number allowed

Search command response (section 2.2.1.16)

Store (section 2.2.3.178.3)

airsync:Class (section 2.2.3.27.5)

LongId (section 2.2.3.98.3)

airsync:CollectionId (section 2.2.3.30.5)

Properties (section 2.2.3.139.3)

container ([MS-ASDTYPE] section 2.2)

0...N (optional)

One Result element is present for each match that is found. If no matches are found, the Result element is not present in the Store container element of the response XML.

Inside the Result element, the Properties element contains a list of nonempty text properties on the entry.

When the store that is being searched is the mailbox:

§ There is one Result element for each match that is found in the mailbox. If no matches are found, an empty Result element is present in the Store container element of the response XML.

§ Inside the Result element, the Properties element contains a list of requested properties for the mailbox item.

When the store that is being searched is the document library:

§ The first result that is returned in the Search response is the metadata for the Root folder or item to which the documentlibrary:LinkId element (section 2.2.3.50) value is pointing. The client can choose to ignore this entry if it does not require it.

§ If the documentlibrary:LinkId element value in the request points to a folder, the metadata properties of the folder are returned as the first item, and the contents of the folder are returned as subsequent results. The Range element (section 2.2.3.143.3) applies to these results with no difference; for example, the index 0 would always be for the root item to which the link is pointing.

§ If the documentlibrary:LinkId element value in the request points to an item, only one result is returned: the metadata for the item.

  • Inside the Result element, the Properties element contains a list of requested properties for the mailbox item.

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section 2.2.1.1.2.6, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Element support

2.5

Yes

12.0

Yes

12.1

Yes

14.0

Yes

14.1

Yes

16.0

Yes

16.1

Yes

Show: