Invite Method
Invite Method
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
This method returns a calendar message used to forward the appointment to another recipient.
Applies To
Type Library
Microsoft CDO for Exchange 2000 Library
DLL Implemented In
CDOEX.DLL
Syntax
[Visual Basic]Function Invite
(
ByVal EmailList As String
) As ICalendarMessage
[C++]HRESULT Invite ( BSTR EmailList, ICalendarMessage** pVal );
Parameters
- EmailList
A list of recipient e-mail names.- pVal
Returned reference to an ICalendarMessage Interface.
Return Value
Returns S_OK if successful, or an error value otherwise.
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@example.com,another@example.com") iCalMsg.Message.Send
Send us your feedback about the Microsoft Exchange Server 2003 SDK.
Build: June 2007 (2007.618.1)
© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.