IAppointment::Cancel

This method is not supported in Windows CE Platform Builder 3.0.

This method sends a cancellation of a meeting request. This method does not remove an appointment from the user's calendar. To both cancel and remove an appointment, you must first call Cancel and then call Delete.

HRESULT Cancel();

Return Values

S_OK indicates success. If an error occurs, the appropriate HRESULT value is returned.

Remarks

In the Outlook Object Model, you must set the MeetingStatus property to the value olMeetingCanceled and then call Send. In the Pocket Outlook Object Model, MeetingStatus is a read-only property, so you use Cancel instead.

Requirements

Runs On Versions Defined in Include Link to
Windows CE OS 2.0 and later pimstore.h    

See Also

IAppointment::Unknown, IAppointment Property Methods

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.