导出和导入对在 SQL Server Reporting Services 中创建的 SharePoint 托管报表的订阅

发布于 2024-07-23 15:18:26 字数 356 浏览 2 评论 0原文

我在相关问题中遇到了这个问题这基本上问同样的事情。 是否可以导出和导入对在 SQL Server Reporting Services 中创建的 SharePoint 托管报表的订阅?

场景:在报表重新部署期间,报表被删除并重新创建,并且关联的订阅被删除(孤立?)。 有没有一种方法(自动化 - 通过自定义工具或通过 SharePoint/SSRS API)可以在删除关联报告之前导出订阅并在重新部署报告后导回订阅?

I came across this question in related questions which basically asks the same thing.
Is there a way of exporting and importing subscriptions to SharePoint-hosted reports that were created in SQL Server Reporting Services?

Scenario: During report re-deployments, reports are deleted and re-created, and the associated subscriptions are deleted (orphaned?). Is there a way (automated - either by a custom tool or via SharePoint/SSRS APIs) that I can export out the subscriptions before deleting the associated report and import back the subscriptions after the report has been redeployed?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

离旧人 2024-07-30 15:18:26

需要尝试的事情...

创建 SSRS 订阅时,会在 SQL Server Agent\Jobs 下创建一个作业。 作业名称看起来像一个指南,因此很难区分一个订阅和另一个订阅。 但您可以右键单击该作业,然后“将作业脚本编写为”选项可用。

我确信熟悉 T-SQL 的人可以想出一个简洁的小脚本来为您完成所有工作。 但这将是一个全新的问题。 :)

注意:我确信 SSRS 2005 是这样的,我想 2008 年也是类似的。

Something to try...

When a SSRS subscription is create a job gets created under SQL Server Agent\Jobs. The job name looks like a guid so it's not easy to tell one subscription from another. But you can right click on the job and the "Script Job as" options are available.

I'm sure someone with more T-SQL could come up with a neat little script that does everything for you. But that would be a whole new question. :)

Note: I know this for sure with SSRS 2005 I would image 2008 is similar.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文