POOMRecipient object  POOMTask object

Chapter 2: System Object Properties, Events, and Functions

POOMRecurrence object

The POOMRecurrence object is used by the POOMAppointment and POOMTask objects.

Properties

POOMRecurrence property

Datatype

Description

DayOfMonth

Integer

Specifies the day of the month on which an appointment recurs. Values must be in the range 1 to 31. This property is valid only if the RecurrenceType property is set to RecursMonthly! or RecursYearly!.

DayOfWeekMask

Long

Specifies the day or days of the week on which an appointment or task occurs. Values are:

  • 1 – Recurs on Sunday

  • 2 – Recurs on Monday

  • 4 – Recurs on Tuesday

  • 8 – Recurs on Wednesday

  • 16 – Recurs on Thursday

  • 32 – Recurs on Friday

  • 64 – Recurs on Saturday

Values are additive. For example, a value of 20 specifies that the appointment or task recurs on Tuesdays and Thursdays. This property is valid only if the RecurrenceType property is set to RecursMonthNth!, RecursWeekly!, or RecursYearNth!.

Duration

Long

Specifies the duration for a recurring appointment. This is used to calculate the duration if either StartTime or EndTime is not set and is ignored if both are set.

EndTime

DateTime

Specifies the end time of an appointment recurrence. The date portion is ignored. If you set a value for an appointment recurrence using this property, it overrides the AppointmentEnd property of the appointment object.

HasNoEndDate

Boolean

Specifies whether the recurrence pattern has an end date. The default is true (no end date).

Instance

Long

Specifies the week of any month in which the recurrence occurs. Values must be in the range 1 to 5. This property is valid only if the RecurrenceType property is set to RecursMonthNth! or RecursYearNth!.

Interval

Long

Specifies the interval between recurrences. This property is valid only if the RecurrenceType property is set to RecursDaily!, RecursMonthly!, RecursMonthNth!, or RecursWeekly!. The interval must be between 1 and 999 and is in units of days, weeks, or months.

MonthOfYear

Integer

Specifies the month of a recurrence. This property is valid only if the RecurrenceType property is set to RecursYearly! or RecursYearNth!. The value must be in the range 1 to 12.

Occurrences

Long

Specifies the number of occurrences.

PatternStartDate

DateTime

Specifies the start time of a recurring appointment. The date portion is ignored. If you set a value for an appointment recurrence using this property, it overrides the AppointmentStart property of the appointment object.

PatternEndDate

DateTime

Specifies the end date of the recurrence. You must set the HasNoEndDate property to false to use this property. Setting and saving this property sets the value of the Occurrences property.

RecurrenceType

POOMRecurrenceType (enumeration)

Specifies the type of recurrence. Values are:

  • RecursDaily! – Recurs every day

  • RecursWeekly! – Recurs every week

  • RecursMonthly! – Recurs every month

  • RecursMonthNth! – Recurs every N months

  • RecursYearly! – Recurs every year

  • RecursYearNth! – Recurs every N years

StartTime

DateTime

Specifies the start time of a recurring appointment. The date portion is ignored. If you set a value for an appointment recurrence using this property, it overrides the AppointmentStart property of the appointment object.





Copyright © 2004. Sybase Inc. All rights reserved. POOMTask object

View this book as PDF