SSRS 下载所有历史快照
Is it possible to download all the history snapshots of a report at once? Preferably as a CSV. Would save a lot time instead of clicking into each one individually and selecting save as CSV.
I only see the option to Delete
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在 PowerShell 中,您可以循环遍历每个快照并使用以下示例保存它们:
https://learn.microsoft.com/en-us/sql/reporting-services/url-access-parameter-reference?view=sql-server-ver15
In PowerShell, you can loop through each snapshot and save them using this example:
https://learn.microsoft.com/en-us/sql/reporting-services/url-access-parameter-reference?view=sql-server-ver15
在使用 powershell 时遇到问题,所以我想发布我的粗略 Python 解决方案的简化版本,灵感来自 @aduguid 答案的资源。
SSRS API 资源:
https://app.swaggerhub.com/apis/microsoft -rs/SSRS/2.0#/Reports/GetReportHistorySnapshots
Was having trouble with powershell, so thought I'd post simplified version of my rough Python solution inspired by the resource from @aduguid's answer.
SSRS API Resource:
https://app.swaggerhub.com/apis/microsoft-rs/SSRS/2.0#/Reports/GetReportHistorySnapshots