11.01.2015 Views

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

[MS-ASCMD]: ActiveSync Command Reference Protocol Specification

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

2.2.3.107.5 Options (Sync)<br />

The Options element is an optional child element of the Collection element in Sync command<br />

requests that contains elements that control certain aspects of how the synchronization is<br />

performed.<br />

Elements referenced in this section are defined in the AirSync namespace, except where otherwise<br />

indicated by the presence of a namespace prefix (as defined in section 2.2.1).<br />

<strong>Command</strong><br />

request/response<br />

Parent<br />

elements Child elements Data type<br />

Number<br />

allowed<br />

Sync command<br />

request (section<br />

2.2.2.19.1)<br />

Collection<br />

(section<br />

2.2.3.28.2)<br />

FilterType (section 2.2.3.61.2)<br />

Conflict (section 2.2.3.32)<br />

MIMETruncation (section 2.2.3.95)<br />

MIMESupport (section 2.2.3.94.3)<br />

Class (section 2.2.3.26.5)<br />

MaxItems (section 2.2.3.87.2)<br />

airsyncbase:BodyPreference<br />

airsyncbase:BodyPartPreference<br />

rm:RightsManagementSupport<br />

([<strong>MS</strong>-ASRM] section 2.2.2.1)<br />

container<br />

([<strong>MS</strong>-<br />

ASDTYPE]<br />

section<br />

2.2)<br />

0...2<br />

(optional)<br />

This element is optional, but if it is present, it SHOULD include at least one child element. The<br />

Options element appears only in requests to the server from the client.<br />

Synchronization options enable the client to specify truncation and content settings. These settings<br />

are encapsulated within a airsyncbase:BodyPreference node within the Options element as<br />

follows:<br />

<br />

1<br />

512<br />

1<br />

255<br />

<br />

Because synchronization options are specified on a collection, the client can specify a unique<br />

airsyncbase:BodyPreference element value for each collection that it is being synchronized. For<br />

more details about the airsyncbase:BodyPreference element, see [<strong>MS</strong>-ASAIRS] section 2.2.2.2.<br />

The server preserves the Options block across requests, using a concept referred to as "sticky<br />

options". If the Options block is not included in a request, the previous Options block is used.<br />

Whenever the client specifies new options by including an Options block in the request, the server<br />

MUST replace the original Options block with the new Options block.<br />

The following example Options element specifies that items in the collection that are older than<br />

three days SHOULD NOT be returned to the client, that items MUST be truncated to 512 characters<br />

if they are larger, and that, if there are any item conflicts, the server MUST replace the client items.<br />

Request<br />

<br />

<br />

[<strong>MS</strong>-<strong>ASCMD</strong>] — v20110315<br />

<strong>ActiveSync</strong> <strong>Command</strong> <strong>Reference</strong> <strong>Protocol</strong> <strong>Specification</strong><br />

Copyright © 2011 Microsoft Corporation.<br />

Release: Tuesday, March 15, 2011<br />

184 / 369

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!