Example #1
0
        public IEnumerable<Subscription> ListSubscribedReports()
        {
            ReportingService2010 rs = new ReportingService2010();

            rs.Credentials =
                System.Net.CredentialCache.DefaultCredentials;
              return
                 rs.ListMySubscriptions("/").OrderBy(subscription=>subscription.Report);
        }
Example #2
0
 public ActionResult SubscribedReport()
 {
     ReportingService2010 rs = new ReportingService2010();
        rs.Credentials =
         System.Net.CredentialCache.DefaultCredentials;
       return
          PartialView(rs.ListMySubscriptions("/").ToList());
 }