How can I get list of all article versions (history) with their revision IDs? Thanks in advance!
There are 2 functions to do this: FillFromPageHistory() and FillFromPageHistoryEx()
Site mySite = new Site("http://www.mysite.com", "UserName", "UserPassword"); PageList pl = new PageList(mySite); pl.FillFromPageHistory("PageName", 50); // now revision IDs are in pl[0].lastRevisionID, pl[1].lastRevisionID, etc. pl.Load(); // load texts, if you need it
Log in to post a comment.
How can I get list of all article versions (history) with their revision IDs? Thanks in advance!
There are 2 functions to do this: FillFromPageHistory() and FillFromPageHistoryEx()