Platform SDK: Exchange 2000 Server

Invite Method

[This is preliminary documentation and subject to change.]

Returns a calendar message used to forward the appointment to another recipient.

[Visual Basic,VBScript]
Function Invite(ByVal EmailList As String) As ICalendarMessage
[C++]
HRESULT Invite(BSTR EmailList, ICalendarMessage** pVal);
[IDL]
HRESULT Invite([in] BSTR EmailList, [out,retval] ICalendarMessage** pVal);
EmailList
A list of recipient e-mail names.

Remarks

If the organizer of the appointment calls the Invite method, the new recipients are added to the attendees collection of the appointment. If an attendee calls the Invite method, the new recipients are not added to the attendees collection. However, new recipients are added to the attendees collection when they send an acceptance to the meeting organizer.

Example

[Visual Basic]
Dim iCalMsg As New CalendarMessage
Dim iAppt    As New Appointment
…
iCalMsg = iAppt.Invite ("someone@microsoft.com,another@microsoft.com")
iCalMsg.Message.Send