共用方式為


2.2.3.10 And

The And element is an optional child element of the Query element in Search command requests. It contains elements that specify items on which to perform an AND operation.

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 request (section 2.2.1.16)

Query (section 2.2.3.142.2)

FreeText (section 2.2.3.80.2)

airsync:Class (section 2.2.3.27.5) airsync:CollectionId (section 2.2.3.30.5)

ConversationId (section 2.2.3.35.2)

GreaterThan (section 2.2.3.86)

LessThan (section 2.2.3.96)

Or (section 2.2.3.126)

container ([MS-ASDTYPE] section 2.2)

0...1 (optional)

If multiple And elements are included in the request, the server responds with a Status element (section 2.2.3.177.13) value of 8 (SearchTooComplex).

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

Yes

12.1

Yes

14.0

Yes

14.1

Yes

16.0

Yes

16.1

Yes