private XlHlp.XlLocation AddSection_WebInfo(XlHlp.XlLocation insertAt, ClientContext ctx, Web web) { XlHlp.DisplayInWatchWindow(System.Reflection.MethodInfo.GetCurrentMethod().Name, 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.AddTitledInfo(insertAt.AddOffsetRow(), "Url:", ctx.Url); XlHlp.AddTitledInfo(insertAt.AddOffsetRow(), "Title:", web.Title); XlHlp.AddTitledInfo(insertAt.AddOffsetRow(), "Created:", web.Created.ToString()); XlHlp.AddTitledInfo(insertAt.AddOffsetRow(), "Description:", web.Description); XlHlp.AddTitledInfo(insertAt.AddOffsetRow(), "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); }