Monthly Archives: May 2009

Howto: Use lambda expression in SharePoint Object Model – Working with WebApplication

English Before you continue reading this post, I hope you have read the basic task to start using lambda expression in SOM here. A. Find existing job definition, named “Change Log” SPWebApplication spWebApplication = SPContext.Current.Site.WebApplication; var jobs = spWebApplication.JobDefinitions.Where(x => x.Title == "Change Log"); foreach(SPJobDefinition job in jobs)                Console.WriteLine(job.Id); B. Find existing custom job… Read More »