Programmatically Exporting Reports via SSRS API

泄露秘密 提交于 2020-01-06 02:43:08

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!