Exago .NET API Documentation
ChainedReportMaxCollationExecutions Property
Example 
WebReports.Api.Common Namespace > General Class : ChainedReportMaxCollationExecutions Property

When executing a collated chained report, the application will run each report for each filtered group. A non-collated chained report containing two reports will only execute those two reports. A collated chained report with the same two reports sorted on a field with 100 values will execute 200 individual reports.

Set the maximum number of individual report executions that are allowed when exporting a collated Chained Report. Setting a limit will prevent very long chains from being executed that could cause performance reductions. If the number of executions exceeds this limit, the chain will be cancelled and an error message displayed to the user (and an e-mail sent to the <error_report_to> address for reports executed by a Scheduler Service).

The default value is 0, indicating no limit to the number of collated report executions.

Syntax
public System.int ChainedReportMaxCollationExecutions {get; set;}

Property Value

Any positive integer 0–2,147,483,647, where 0 sets no limit to the number of executions.

 

Remarks
Same as setting Admin Console > General > Other SettingsMax Chained Report Collation Executions.
Example
Set the maximum number of individual collated report executions to 300. A Chained Report that requires 301 or more individual executions will be cancelled.
api.General.ChainedReportMaxCollationExecutions = 300;
See Also

Reference

General Class
General Members

Exago Knowledge Base

Roles
Other Settings