SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top
ChangeCollection siteChanges = clientContext.Web.GetChanges(new ChangeQuery(true,true));
clientContext.Load(siteChanges);
clientContext.ExecuteQuery();

siteChanges.LastChangeToken; is not there as in Server object model(SPChangeCollection.LastChangeToken). How do i get that?

share|improve this question
    
sharepoint.stackexchange.com/questions/47519/… The above link has the answer. – Srikanth P Vasist Oct 25 '12 at 8:46

The ChangeQuery class has the ChangeTokenEnd property:

http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.changequery.changetokenend.aspx

share|improve this answer
1  
I tried that before posting. its giving null always. Any specific reason? – Srikanth P Vasist Oct 16 '12 at 17:44

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.