ClientContext clientContext = new ClientContext("http://intranet.contoso.com"); ListCollection listCollection = clientContext.Web.Lists; clientContext.Load( listCollection, lists => lists .Include( list => list.Title, list => list.Hidden) . Where(list => ! list.Hidden) ); clientContext.ExecuteQuery(); foreach (var list in listCollection) Console.WriteLine(list.Title);
You can create Max of 500 records in post request call if you include more than records better to call multiple requests this way you can achieve
Comments
Post a Comment