The ReportVolume.PublishingOptions can be used to specify the MaxPages and MaxTime that a report can execute. However, if you the report submits a long running query to the database, there is no way to control that. For a report the produces many pages, I would make sure that Report.PassSetting is set to psOnePass - that can greatly improve performance. Also set Report.OutlineSettings.Enabled to False.
Best regards,
Nard Moseley Digital Metaphors www.digital-metaphors.com
Comments
There is no way to cancel a report.
The ReportVolume.PublishingOptions can be used to specify the MaxPages and
MaxTime that a report can execute. However, if you the report submits a long
running query to the database, there is no way to control that. For a report
the produces many pages, I would make sure that Report.PassSetting is set to
psOnePass - that can greatly improve performance. Also set
Report.OutlineSettings.Enabled to False.
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com