Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am trying to get changes from a content database. Below is the code I have used to get the changes, but I get zero results. How to make it work?

 SPChangeQuery query = new SPChangeQuery(false, false);
 query.Group = true;
 query.GroupMembershipAdd = true;
 query.GroupMembershipDelete = true;
 SPUserCollection users = rootWeb.AllUsers;
 SPChangeCollection changes = spSite.ContentDatabase.GetChanges(query);
share|improve this question
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.