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 fAutoAccept 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.