CreateRecurringEventPage method

Creates a new Repeating Calender Event in a Calendar Page.

Syntax


C++

HRESULT CreateRecurringEventPage (
   BSTR RecurrenceName,
   BSTR Description,
   ERUTextFormat DescriptionFormat,
   DATE RecurrenceStartDate,
   DATE RecurrenceEndDate,
   DATE StartTime,
   LONG Duration,
   ERURecurrencePattern Pattern,
   LONG Days,
   IERUMemberSet* Participants,
   BSTR OtherParticipants,
   LONG CreateOptions,

   IERUItem** ppCalendarEventPage)

Scripting languages

Set Row = Object.CreateRecurringEventPage (
   BSTR RecurrenceName,

   BSTR Description,

   ERUTextFormat DescriptionFormat,

   DATE RecurrenceStartDate,

   DATE RecurrenceEndDate,

   DATE StartTime,

   LONG Duration,

   ERURecurrencePattern Pattern,

   LONG Days,

   IERUMemberSet* Participants,

   BSTR OtherParticipants,

   LONG CreateOptions)

Parameters


RecurrenceName

The default name for each occurrence of the event.

Description

The default description for each occurrence of the event.

DescriptionFormat

Indicates whether the Description parameter is in HTML or plain text format. See ERUTextFormat for values for this parameter.

RecurrenceStartDate

The date on which the first occurrence of the repeating event occurs.

RecurrenceEndDate

The date on which the last occurrence of the repeating event occurs.

StartTime

The default time of day on which each occurrence of the repeating event starts.

Duration

How long (in minutes) each occurrence of the repeating event lasts. The minimum and maximum values are 10 and 1440 minutes, respectively.

Pattern

Defines the frequency of the repeating event. See ERURecurrencePattern for values for this parameter.

Days

Defines the list of days on which the repeating event occurs. For days of the week (for example, Monday or Tuesday), specify one or more values from the ERUWeekDay enum, logically OR'ed together. For a day of the month (for example, the first and 15th days of every month), specify the day number as an integer from 1 through 28, with -1 specifying the last day of the month.

Participants

Members participating in the event.

OtherParticipants

Event participants who are not members of the eRoom.

CreateOptions

One or more values from the ERUCreateOption enumeration, logically OR'ed together. This parameter is optional.

ppCalendarEventPage

Upon return, an IERUItem interface pointer to a newly-created repeating calendar event page.

Return value


C++

The return code.

Scripting languages

An IERUItem interface pointer to the newly-created event.

Remarks


To create a one-time event, use the CreateCalendarEventPage method.

Home

Interface

IERUCalendar


See also

IERUItem

IERUCalendarEvent


See also

Calendars