none
Exchange Web Services and appointment RRS feed

  • Question

  • Hi!

    I create solution in Visual Studio, who I search appointment and collect data.

    How can I do collect response's? Who is accepted, rejected, no response or conditional?

    I try, but not working good

                   for (int i = 0; i < app.RequiredAttendees.Count; i++)
                    {
                        if (app.Decline(true) == true)
                        {
                            visszautasit += app.RequiredAttendees[i].Name.ToString() + ", ";
                        }
                        if (app.Accept(true) == true)
                        {
                            elfogad += app.RequiredAttendees[i].Name.ToString() + ", ";
                        }
                       
                    }
                    for (int i = 0; i < app.OptionalAttendees.Count; i++)
                    {
                        if (app.Decline(true) == true)
                        {
                            visszautasit += app.OptionalAttendees[i].Name.ToString() + ", ";
                        }
                        if (app.Accept(true) == true)
                        {
                            elfogad += app.OptionalAttendees[i].Name.ToString() + ", ";
                        }
                    }
    

    Please help!

    Thanks,

    Niki

    Friday, January 27, 2012 8:22 AM

All replies

  • I have a problem yet.

    If i use

    FindItemsResults<Appointment> findResults = service.FindAppointments(WellKnownFolderName.Calendar, calendarView);


    than I can not collect Optional and Required Attendees and If I use Bind method with itemId, than is too slow, because in Calender I have 22100 items.

    Please help!

    Thanks,

    Niki
    Friday, January 27, 2012 3:36 PM