0
を見つけ、私はこのような時間枠と部屋のメールボックスアドレスを使用して予定を見つけることができるよ:交換EWSのAPIは、EWSのAPIを使用して主催し、時間枠によって任命
public static Appointment GetAppointmentByMailboxAndTimeFrame(ExchangeService EWS,DateTime startDate, DateTime endDate , string mailbox)
{
Appointment apt=null;
try
{
// Set the start and end time appointments to retrieve.
CalendarView cView = new CalendarView(startDate, endDate);
FolderId CalendarFolderId = new FolderId(WellKnownFolderName.Calendar, mailbox);
EWS.ImpersonatedUserId = null;
// Retrieve an appointments by using the calendar view.
FindItemsResults<Appointment> appointments = EWS.FindAppointments(CalendarFolderId, cView);
apt= appointments.First();
}
catch (Exception)
{
apt = null;
}
return apt;
}
私は思ったんだけどそこにあります主催者の電子メールアドレスと時間枠を使用して主催者の予定を取得する方法はありますか?これは主催者のみが出席者ではなく、予定を更新することができます(出席者も同じです)