Export (0) Print
Expand All
Expand Minimize Conflict

The Conflict element is an optional child element of the Options element in Sync command requests that specifies how to resolve the conflict that occurs when an object has been changed on both the client and the server. The value specifies which object—the client object or the server object—to keep if there is a conflict.

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

Command request/response

Parent elements

Child elements

Data type

Number allowed

Sync command request (section

Options (section


unsignedByte ([MS-ASDTYPE] section 2.7)

0...1 (optional)

The following table lists valid values for the element.




Client object replaces server object.


Server object replaces client object.

If the Conflict element is not present, the server object will replace the client object when a conflict occurs.

A value of 0 (zero) means to keep the client object; a value of 1 means to keep the server object. If the value is 1 and there is a conflict, a Status element (section value of 7 is returned to inform the client that the object that the client sent to the server was discarded.

The Conflict element applies to the entire collection; therefore, it is not possible to apply the Conflict element value to individual items within the collection.

The Conflict element is a child of the Options element, and therefore the Conflict element appears only in requests to the server from the client.

The result of including more than one Conflict element as the child of an Options element is undefined. The server MAY return a protocol status error in response to such a command request.

If a Delete element (section conflicts with an Add (section or Change element (section, the Delete element takes precedence.

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, or the Protocol version field, as specified in [MS-ASHTTP] section, in the request.

Protocol version

Element support











© 2015 Microsoft