Export (0) Print
Expand All

2.2.3.30.4 CollectionId (Search)

The airsync:CollectionId element is an optional child element of the And element in Search command requests that specifies the folder in which to search. The airsync:CollectionId element is an optional child element of the Result element in Search command responses that specifies the folder in which the item was found.

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.1).

Command request/response

Parent elements

Child elements

Data type

Number allowed

Search command request (section 2.2.2.15)

And (section 2.2.3.10)

None

string ([MS-ASDTYPE] section 2.7)

0...N (optional)

Search command response

Result (section 2.2.3.145.2)

None

string

0...N (optional)

In a Search command request, multiple folders can be specified by including multiple airsync:CollectionId elements. If the DeepTraversal element (section 2.2.3.41) is present, it applies to all folders under each airsync:CollectionId element. If the airsync:CollectionId element is included as a child of any element other than And, the server responds with a Status element (section 2.2.3.166.12) 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.4, 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

X

12.1

X

14.0

X

14.1

X

16.0

X

Show:
© 2016 Microsoft