Publish Method

Topic Last Modified: 2006-06-13

Returns a calendar message for the appointment with the method value set to "Publish." Published appointments do not have attendees. To send the calendar message, you need to add recipients using the IMessage interface of the calendar message.

Applies To

IAppointment Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

Function Publish() As ICalendarMessage
HRESULT Publish
(
        ICalendarMessage** pVal
);

Parameters

Return Value

Returns S_OK if successful, or an error value otherwise.