현재 모든 객실에는 모든 약속을 잡을 수 있지만 모든 약속을 보여주고 싶다면 많은 객실이 있습니다. 성능이 매우 좋지 않으므로 모든 방법을 사용할 수 있는지 묻고 싶습니다. 한 번에 여러 방에 대한 약속?모든 객실에 대한 약속 잡기
-2
A
답변
0
아니요 그렇게 할 작업이 없습니다. 그러나 GetUserAvailbility 작업을 사용하면 FreeBusy 상태와 일정 시작, 끝, 위치, 제목의 하위 집합을 제공 할 수 있습니다. CalendarDetails를 요청하면 http://msdn.microsoft.com/en-us/library/office/hh532567%28v=exchg.80%29.aspx을 참조하십시오. 이 작업과 관련하여 몇 가지 제한 사항이 있으며 일반적으로 42 일 안에 시간 창이 있으며 요청 당 최대 100 개의 사서함 만 검색 할 수 있습니다.
건배 글렌
0
https://msdn.microsoft.com/en-us/library/office/dn495614(v=exchg.150).aspx
// Initialize values for the start and end times, and the number of appointments to retrieve.
DateTime startDate = DateTime.Now;
DateTime endDate = startDate.AddDays(30);
const int NUM_APPTS = 5;
// Initialize the calendar folder object with only the folder ID.
CalendarFolder calendar = CalendarFolder.Bind(service, WellKnownFolderName.Calendar, new PropertySet());
// Set the start and end time and number of appointments to retrieve.
CalendarView cView = new CalendarView(startDate, endDate, NUM_APPTS);
// Limit the properties returned to the appointment's subject, start time, and end time.
cView.PropertySet = new PropertySet(AppointmentSchema.Subject, AppointmentSchema.Start, AppointmentSchema.End);
// Retrieve a collection of appointments by using the calendar view.
FindItemsResults<Appointment> appointments = calendar.FindAppointments(cView);
Console.WriteLine("\nThe first " + NUM_APPTS + " appointments on your calendar from " + startDate.Date.ToShortDateString() +
" to " + endDate.Date.ToShortDateString() + " are: \n");
foreach (Appointment a in appointments)
{
Console.Write("Subject: " + a.Subject.ToString() + " ");
Console.Write("Start: " + a.Start.ToString() + " ");
Console.Write("End: " + a.End.ToString());
Console.WriteLine();
}
감사합니다, 그것은 GetUserAvailbility으로 작동 –