I am currently getting all events from a calendar one calendar at a time. These are all sharepoint online calendars. This is working fine but a little slow. The basic of what I am doing is:
ClientContext clientContext = new ClientContext(url);
clientContext.Credentials = onlineCredentials;
List oList = clientContext.Web.Lists.GetByTitle(title);
CamlQuery camlQuery = new CamlQuery();
camlQuery.ViewXml = "<View><Query><Where><And><Leq><FieldRef Name='EventDate'/><Value Type='DateTime'>" + endDate + "</Value></Leq><Geq><FieldRef Name='EndDate' /><Value Type='DateTime'>" + startDate + "</Value></Geq></And></Where></Query></View>";
ListItemCollection collListItem = oList.GetItems(camlQuery);
clientContext.Load(collListItem);
clientContext.ExecuteQuery();
Since I am calling the same code above 5 or more times to get all my calendars, is there a way to pass all the urls together and get all events at once?