Enumerate all WebApplication and all Site Collection

Per recuperare dalla farm tutte le web application e per ciascun web application le proprie site collection guarda il seguente codice:

foreach (SPService svc in SPFarm.Local.Services)
{
     if (!(svc is SPWebService))
          continue;

     foreach (SPWebApplication webApp in ((SPWebService)svc).WebApplications)
     {         
          foreach (SPSite site in webApp.Sites)
          {

Month List