语言

ReportExecutionService 类

定义

Reporting Services Execution Web 服务允许开发者通过程序化处理和呈现报告服务器的报告。

public ref class ReportExecutionService : System::Web::Services::Protocols::SoapHttpClientProtocol
public class ReportExecutionService : System.Web.Services.Protocols.SoapHttpClientProtocol
type ReportExecutionService = class
    inherit SoapHttpClientProtocol
Public Class ReportExecutionService
Inherits SoapHttpClientProtocol
继承
ReportExecutionService

示例

Dim rs As New myNamespace.myReferenceName.ReportExecutionService()  
rs.Url = "http://myservername.reportserver/ReportExecution2010.asmx?wsdl"  
rs.Credentials = System.Net.CredentialCache.DefaultCredentials  
myNamespace.myReferenceName.ReportExecutionService rs = new myNamespace.myReferenceName.ReportExecutionService();  
rs.Url = "http://myservername.reportserver/reportexecution2010.asmx?wsdl"  
rs.Credentials = System.Net.CredentialCache.DefaultCredentials  

注解

在进行任何方法调用之前,你必须先设置 Url 网络服务的 Credentials 属性。

构造函数

名称 说明
ReportExecutionService()

初始化 ReportExecutionService 类的新实例。

属性

名称 说明
ExecutionHeaderValue

提供SOAP头信息,包括处理报告执行时使用的 ExecutionID 。

ServerInfoHeaderValue

返回关于报告服务器的信息。

TrustedUserHeaderValue

不使用此属性。

方法

名称 说明
FindString(Int32, Int32, String)

返回指定字符串下一次出现的逻辑页号。

GetDocumentMap()

返回执行时的文档映射表示。

GetExecutionInfo()

返回关于报告执行的信息。

GetExecutionInfo2()

返回关于报告执行的信息。

GetRenderResource(String, String, String)

返回指定的渲染扩展格式的资源。

ListRenderingExtensions()

返回一个渲染扩展列表。

ListSecureMethods()

返回需要安全(SSL)连接的SOAP方法列表。

LoadDrillthroughTarget(String)

从钻孔操作创建报告执行。

LoadDrillthroughTarget2(String)

从钻孔操作创建报告执行。

LoadReport(String, String)

将报告服务器的报告加载到新的执行中。

LoadReport2(String, String)

将报告服务器的报告加载到新的执行中。

LoadReportDefinition(Byte[], Warning[])

根据客户端提供的报表定义创建报表执行。

LoadReportDefinition2(Byte[], Warning[])

根据客户端提供的报表定义创建报表执行。

Logoff()

将当前用户在进行 Web 服务请求时登出。

LogonUser(String, String, String)

登录用户并认证向报告服务器Web服务发送的用户请求。

NavigateBookmark(String, String)

导航到报告中的某个特定书签。

NavigateDocumentMap(String)

导航到报告的特定部分。

Render(String, String, String, String, String, Warning[], String[])

处理特定报表并以指定格式渲染。

Render2(String, String, PageCountMode, String, String, String, Warning[], String[])

处理特定报表并以指定格式渲染。

RenderStream(String, String, String, String, String)

获得与处理报告关联的次级渲染流。

ResetExecution()

通过清除快照并重置会话状态来重置当前的报告执行。

ResetExecution2()

通过清除快照并重置会话状态来重置当前的报告执行。

SetExecutionCredentials(DataSourceCredentials[])

设置当前报告执行关联的凭证。

SetExecutionCredentials2(DataSourceCredentials[])

设置当前报告执行关联的凭证。

SetExecutionParameters(ParameterValue[], String)

设置并验证与当前报告执行关联的参数值。

SetExecutionParameters2(ParameterValue[], String)

设置并验证与当前报告执行关联的参数值。

Sort(String, SortDirectionEnum, Boolean, String, Int32)

根据用户排序操作应用或移除排序。

Sort2(String, SortDirectionEnum, Boolean, PageCountMode, String, ExecutionInfo2)

根据用户排序操作应用或移除排序。

ToggleItem(String)

在报告中切换显示/隐藏项目。

适用于