private ReportWrapper(ServerConnection connection, string reportPath) { _connection = connection; var rs = _connection.ExecutionService; _diagInfo = new ReportDiagnosticsInfo(); rs.ExecutionHeaderValue = new ExecutionHeader(); rs.LoadReport(reportPath, null); _diagInfo.SessionId = rs.ExecutionHeaderValue.ExecutionID; }
public static ReportWrapper Create(ServerConnection connection, string reportPath) { return new ReportWrapper(connection, reportPath); }