2.2.2.18 Occurrences

The Occurrences element is an optional child element of the Recurrence element (section 2.2.2.20) that specifies the number of occurrences before the series ends. It is defined as an element in the Tasks namespace.

The value of this element is an unsignedbyte data type, as specified in [MS-ASDTYPE] section 2.8.

A command request or response has a maximum of one Occurrences child element per Recurrence element.

The Occurrences element and the Until element (section 2.2.2.30) are mutually exclusive. It is recommended that only one of these elements be included as a child element of the Recurrence element in a Sync command request ([MS-ASCMD] section 2.2.1.21). For more details about the Occurrences element, see section 3.2.5.3.4.

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

Yes

12.0

Yes

12.1

Yes

14.0

Yes

14.1

Yes

16.0

Yes

16.1

Yes