Exemplo n.º 1
0
 /// <summary>
 /// Schedules and downloads a report given a query id.
 /// </summary>
 /// <param name="contract">The report contract.</param>
 /// <returns>
 /// The report contract, with report contents populated.
 /// </returns>
 public ReportContract GetReportUsingContract(ReportContract contract)
 {
     contract.IsSuccess = GetReport(contract.QueryId, contract.ReportFilePath);
     return(contract);
 }
 /// <summary>
 /// Schedules and downloads a report given a query id.
 /// </summary>
 /// <param name="contract">The report contract.</param>
 /// <returns>
 /// The report contract, with report contents populated.
 /// </returns>
 public ReportContract GetReportUsingContract(ReportContract contract) {
   contract.IsSuccess = GetReport(contract.QueryId, contract.ReportFilePath);
   return contract;
 }