2.2.3.184.1 Total (Find)

The Total element is an optional child element of the Response element in Find command responses that provides an estimate of the total number of mailbox entries that matched the search Query element (section 2.2.3.142.1) value.

All elements referenced in this section are defined in the Find namespace.

Command request/response

Parent elements

Child elements

Data type

Number allowed

Find command response (section 2.2.1.2)

 Response (section 2.2.3.153.2)

None

integer ([MS-ASDTYPE] section 2.6)

0...1 (optional)

The value of the Total element does not always equal the number of entries that are returned. To determine the number of entries that are returned by the Find command, use the Range element (section 2.2.3.143.1) value.

The Total element indicates the number of entries that are available. In cases where all the results are returned in the response XML, the value of the Total element is one more than the end-index value that is provided in the Range element. For example, if the Find command returns 15 entries, the value of the Range element is 0–14, while the value of the Total element is 15.

The Total element is used by clients to determine whether more matching entries were found in the mailbox than have been returned by the Find command. For example, a client might perform an initial search and specify a requested Range of 0–4 (return 5 entries maximum). If the Total element indicates that there are actually 25 matching items, the client can then enable the user to retrieve the full results.

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

12.0

12.1

14.0

14.1

16.0

16.1

Yes