9

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("mstum@example.com");
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?

4

3 に答える 3

3

FindAppointmentsの2つの方法を確認してくださいExchangeService

http://msdn.microsoft.com/en-us/library/dd635918(v=exchg.80

http://msdn.microsoft.com/en-us/library/dd633767(v=exchg.80

于 2012-07-21T20:57:33.347 に答える
1

2007年にはまったく方法がないようです。

于 2012-07-22T23:01:38.240 に答える