Example #1
0
 /**     
  * Loads a report from the report server into a new execution.
  * @param string $report The full name of the report.
  * @param string $historyID The history ID of the snapshot.
  * @return ExecutionInfo An ExecutionInfo object containing information
  *                                                 for the loaded report.
  */
 public function LoadReport2($report, $historyID = null)
 {
     $parameters = array('Report' => $report, 'HistoryID' => $historyID);
     try {
         $stdObject = $this->_soapHandle_Exe->LoadReport2($parameters);
         $this->ExecutionInfo2 = SSRSTypeFactory::CreateSSRSObject('ExecutionInfo2', $stdObject);
         return $this->ExecutionInfo2;
     } catch (SoapFault $soapFault) {
         self::ThrowReportException($soapFault);
     }
 }