EnteredByOccurrences Element

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Indicates whether the range of recurrence for the calendar exception is defined by a number of occurrences, or by a finish date.

<EnteredByOccurrences>
  BooleanValue
</EnteredByOccurrences>

Parent Elements

Exception

Occurrences

Minimum: 0

Maximum: 1

Text Value

A text value of type boolean is required.

Valid values are listed in Table 1.

Value

Description

0

False. The range of recurrence for the exception is defined by a finish date.

1

True. The range of recurrence for the exception is defined by a number of occurrences.

Example

The following example uses the EnteredByOccurrences element to indicate that this calendar exception was entered with a range of recurrence defined by a finish date.

<Exception>
  <EnteredByOccurrences>0</EnteredByOccurrences>
  <TimePeriod>
    <FromDate>2007-01-01T00:00:00</FromDate>
    <ToDate>2007-01-01T23:59:00</ToDate>
  </TimePeriod>
  <Occurrences>1</Occurrences>
  <Name>New Year's Day</Name>
  <Type>1</Type>
  <DayWorking>0</DayWorking>
</Exception>

See Also

Concepts

Calendar Elements and XML Structure

XML Schema for the Calendars Element