a guest Apr 16th, 2018 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- Public static DataSet Gethistory(string siteurl, string listName, int Id)
- Using (ClientContext ctx = new ClientContext(siteUrl))
- Var file = ctx.Web.Lists.GetByTitle(listName).GetItemId(Id).File;
- Var versions = file.Versions;
- Ctx.Load(versions, vs => vs.Include(v => v.CreatedBy))
RAW Paste Data