Ejemplo n.º 1
0
        private void ProcessWorkItemCore(SPWorkItem wi, WorkItemTimerJobState timerJobstate)
        {
            var list = timerJobstate.Web.Lists[wi.ParentId];

            CleanupUtility.CleanupList(list);
        }
Ejemplo n.º 2
0
 public void SubmitLibraryToCleanup(string listId)
 {
     CleanupUtility.AddCleanupWorkitem(SPContext.Current.Web, new Guid(listId));
 }