RDOCalendarOptions object

 

RDOCalendarOptions represents calendar options (auto accept, etc) and free/busy data of an Exchange mailbox.

 

Returned by:

RDOExchangeMailbox.CalendarOptions

 

The example below prints out the free/busy information for the default mailbox.

set Session = CreateObject("Redemption.RDOSession")
Session.MAPIOBJECT = Application.Session.MAPIOBJECT
set CalendarOptions = Session.Stores.DefaultStore.CalendarOptions
set Events = CalendarOptions.FreeBusyList
for each slot in Events
  Debug.Print slot.Start & " - " & slot.End & " - " & slot.BusyStatus
next

 


Derived from: IDispatch


Properties


AutoAccept

Boolean, read/write. Returns true if the meeting requests are automatically accepted.

 

set Session = CreateObject("Redemption.RDOSession")
Session.Logon

set Store = Session.Stores.GetSharedMailbox("Conference room 1")
set CalendarOptions = Store.CalendarOptions
CalendarOptions.AutoAccept = true

 

AutoDeclineConflict

Boolean, read/write. Returns true if the meeting requests are automatically declined if in conflict with an existing appointment.

Applicable only if AutoAccept is true.

 

 

AutoDeclineRecurring

Boolean, read/write. Returns true if the recurring meeting requests are automatically declined.

Applicable only if AutoAccept is true.

 

 

FreeBusyList

Returns a collection (RDOFreeBusyRange) of all published free/busy slots available for the mailbox.

 

see example above

PublishMonths

Integer, read/write. Returns or sets the number of months of free/busy date Outlook publishes on the server.

 

 

TimeZone
RDOTimezone, read/write. Returns or sets the time zone used by the parent Exchange mailbox.
 
WorkDayEnd
Integer, read/write. Returns or sets the time of the work day end (in minutes since midnight). E.g. 1020 correspond to 5 pm.
 
WorkDays
Integer, read/write. Returns or sets the work days of the week as a combination of the rdoDaysOfWeek enums. E.g. 62 corresponds to the sum of olMonday +olTuesday + olWednesday + olThursday + olFriday.
 
WorkDayStart
Integer, read/write. Returns or sets the time of the work day start (in minutes since midnight). E.g. 480 correspond to 8 am.