如何使用 SSRS 以编程方式创建和检索快照?
我正在尝试创建一个快照并稍后以编程方式将其拉出。我已经完成了第一部分(如下所示),但我似乎无法找到一种方法来根据某些唯一标识符稍后将相同的快照拉出来......
Dim rs As ReportingService2005.ReportingService2005 = New ReportingService2005.ReportingService2005()
rs.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials
Dim snapID = rs.CreateReportHistorySnapshot(reportname, Nothing)
I'm trying to create a snapshot and pull it back out later programmatically. I have the first part working (shown below) but I can't seem to find a way to pull this same snapshot back out later based on some unique identifier ...
Dim rs As ReportingService2005.ReportingService2005 = New ReportingService2005.ReportingService2005()
rs.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials
Dim snapID = rs.CreateReportHistorySnapshot(reportname, Nothing)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Render
方法 接受可选的HistoryID
参数:奇怪的是,2005 年和 2008 年 Web 服务的文档中缺少该方法。
如果您使用 URL 呈现,还可以指定 rs:Snapshot 参数。
The
Render
method accepts an optionalHistoryID
parameter:Curiously, that method is missing from the documentation for the 2005 and 2008 web services.
You can also specify an rs:Snapshot parameter if you're using URL rendering.