Ejemplo n.º 1
0
 private void CreateSiteCollectionMappedFolder(SPSite site, SPWeb web)
 {
     if (web.AllProperties["SSRSSyncSiteCollectionTimestamp"] == null)
     {
         try
         {
             IReportingService reportingService = ReportingService.GetInstance(site);
             reportingService.CreateSiteCollectionMappedFolder();
             web.AllProperties.Add("SSRSSyncSiteCollectionTimestamp", DateTime.Now.ToString());
             web.Update();
         }
         catch (Exception exception)
         {
             bErrors  = true;
             sErrors += exception.ToString();
         }
     }
 }