问题
I have a custom interface where my users select multiple reports and export them all at once. I need to programatically export these reports and preferably offer all the same format options. I understand this can be done through the SSRS API. Does anyone already know how to do this to save me some research time?
Many thanks...
回答1:
Looks like you would use the ReportExecutionService class - not the management API, which is where I was looking at first.
Use the Render method to generate the report. Pay attention to those first two parameters of Render to specify the format.
Hope this helps.
来源:https://stackoverflow.com/questions/4381314/programmatically-exporting-reports-via-ssrs-api