By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,894 Members | 2,161 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,894 IT Pros & Developers. It's quick & easy.

Cancel appointments using CDO.

P: n/a
dfo
Hi all!

Have been trying for quite a while now to send cancellations to all
attendees of an appointment using CDO.

My code looks like this:

string strIdURL = "http://server/exchange/mailbox/calendar/test.eml";
CDO.Appointment oApp = new CDO.Appointment();
oApp.DataSource.Open(strIdURL, ADOConn,
ADODB.ConnectModeEnum.adModeReadWrite,
ADODB.RecordCreateOptionsEnum.adFailIfNotExists,
ADODB.RecordOpenOptionsEnum.adOpenSource, "", "");

So far so good, I can access variables like oApp.Location,
oApp.StartTime without problems.

When I do this:
CDO.ICalendarMessage iCalMsg = (CDO.ICalendarMessage)oApp.Cancel("",
true, "", "");

I get this error:
Server was unable to process request. ---The requested property was
not found.

Does anyone have a clue to which properties I am missing? I have
searched the net but not found anything that works.

I am using Microsoft Exchange 2000.

Best regards,
Daniel

Sep 26 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.