private XlHlp.XlLocation AddSection_WebInfo(XlHlp.XlLocation insertAt, ClientContext ctx, Web web) { long startTicks = XlHlp.DisplayInWatchWindow(insertAt); //ctx.Load(web, info => info.HasUniqueRoleAssignments); //ctx.Load(web1, // info => info.Url, // info => info.MasterUrl, // info => info.Description, // info => info.HasUniqueRoleAssignments, // info => info.Created); //ctx.ExecuteQuery(); XlHlp.AddLabeledInfoX(insertAt.AddOffsetRowX(), "Url:", ctx.Url); XlHlp.AddLabeledInfoX(insertAt.AddOffsetRowX(), "Title:", web.Title); XlHlp.AddLabeledInfoX(insertAt.AddOffsetRowX(), "Created:", web.Created.ToString()); XlHlp.AddLabeledInfoX(insertAt.AddOffsetRowX(), "Description:", web.Description); XlHlp.AddLabeledInfoX(insertAt.AddOffsetRowX(), "Id:", web.Id.ToString()); //XlHlp.AddTitledInfo(ws.Cells[startingRow++, 1], "HasUniqueRoleAssignments:", web.HasUniqueRoleAssignments.ToString()); //XlHlp.AddTitledInfo(ws.Cells[startingRow++, 1], "MasterUrl:", web.MasterUrl); return(insertAt); }