示例#1
0
 private void VerifyConnection()
 {
     try
     {
         Gather();
         _rs = new ReportingService2005();
         _rs.UseDefaultCredentials = true;
         _rs.Url = String.Format("{0}/{1}", _drd.GetReportServerUrl(), _reportWebService);
         _rs.GetPermissions("/");
     }
     catch (Exception)
     {
         _rs = null;
         throw;
     }
 }