So I'm creating Exchange (2007) Appointments with a given ICalUid:
var app = new Appointment(svc);
app.ICalUid = id;
app.Subject = "Test Appointment";
app.Recurrence = new Recurrence.DailyPattern(DateTime.Now, 3);
app.RequiredAttendees.Add("[email protected]");
app.AllowNewTimeProposal = false;
app.Body = new MessageBody(BodyType.HTML, "This is a <b>Test!</b>");
app.Save();
Later on, I would like to update that appointment, at which point I need to find it through the ICalUid.
However, there seems to be no way to do that? I can use Appointment.Bind
only against the Exchange ID, which I don't have at the time of update (storing it is highly impractical)
I can create a new appointment with the same ICalUid, which seems to behave like an update, but asks to Accept/Reject again instead of just displaying "No Update Required".
Is there any proper way to do that?
GetObjectIdStringFromUid
method. Using a hex string like012345
doesn't throw an exception, but doesn't find the appointment either. – Fenrir