ReportExecutionService Class

Definition

Reporting Services 执行 Web 服务允许开发人员以编程方式处理和呈现 Report Server 中的报表。The Reporting Services Execution Web service allows developers to programmatically process and render reports from a report server.

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
Inheritance
ReportExecutionService

Examples

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  

Remarks

Url Credentials 进行任何方法调用之前,必须设置 web 服务的和属性。You must set the Url and Credentials properties of the web service before making any method calls.

Constructors

ReportExecutionService()

初始化 ReportExecutionService 类的新实例。Initializes a new instance of the ReportExecutionService class.

Properties

ExecutionHeaderValue

提供 SOAP 标头信息,包括在处理报表执行时使用的ExecutionIDProvides SOAP header information, including the ExecutionID used when working with report executions.

ServerInfoHeaderValue

返回有关报表服务器的信息。Returns information about the report server.

TrustedUserHeaderValue

不使用此属性。This property is not used.

Methods

FindString(Int32, Int32, String)

返回指定字符串的下一个匹配项的逻辑页码。Returns the logical page number of the next occurrence of the specified string.

GetDocumentMap()

返回用于执行的文档结构图的表示形式。Returns the representation of the document map for the execution.

GetExecutionInfo()

返回有关报表执行的信息。Returns information about the report execution.

GetExecutionInfo2()

返回有关报表执行的信息。Returns information about the report execution.

GetRenderResource(String, String, String)

返回指定的呈现扩展插件格式的资源。Returns the resource for a specified rendering extension format.

ListRenderingExtensions()

返回呈现扩展插件的列表。Returns a list of rendering extensions.

ListSecureMethods()

返回调用时要求安全 (SSL) 连接的 SOAP 方法的列表。Returns a list of SOAP methods that require a secure (SSL) connection when invoked.

LoadDrillthroughTarget(String)

根据钻取操作创建报表执行。Creates a report execution from a drillthrough action.

LoadDrillthroughTarget2(String)

根据钻取操作创建报表执行。Creates a report execution from a drillthrough action.

LoadReport(String, String)

将报表从报表服务器加载到新的执行中。Loads a report from the report server into a new execution.

LoadReport2(String, String)

将报表从报表服务器加载到新的执行中。Loads a report from the report server into a new execution.

LoadReportDefinition(Byte[], Warning[])

根据客户端提供的报表定义创建报表执行。Creates a report execution from a report definition supplied by the client.

LoadReportDefinition2(Byte[], Warning[])

根据客户端提供的报表定义创建报表执行。Creates a report execution from a report definition supplied by the client.

Logoff()

注销发出 Web 服务请求的当前用户。Logs out the current user making Web service requests.

LogonUser(String, String, String)

使用户登录,然后验证对报表服务器 Web 服务的用户请求。Logs on a user and authenticates a user request to the Report Server Web service.

NavigateBookmark(String, String)

导航到报表中的特定书签。Navigates to a specific bookmark in the report.

NavigateDocumentMap(String)

导航到报表中的特定部分。Navigates to a specific section of the report.

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

处理特定报表并以指定格式呈现该报表。Processes a specific report and renders it in the specified format.

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

处理特定报表并以指定格式呈现该报表。Processes a specific report and renders it in the specified format.

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

获取与已处理报表关联的辅助呈现流。Gets a secondary rendering stream associated with a processed report.

ResetExecution()

通过清除快照并重置会话状态重置当前报表执行。Resets the current report execution by clearing the snapshot and resetting the session state.

ResetExecution2()

通过清除快照并重置会话状态重置当前报表执行。Resets the current report execution by clearing the snapshot and resetting the session state.

SetExecutionCredentials(DataSourceCredentials[])

设置与当前报表执行关联的凭据。Sets the credentials associated with the current report execution.

SetExecutionCredentials2(DataSourceCredentials[])

设置与当前报表执行关联的凭据。Sets the credentials associated with the current report execution.

SetExecutionParameters(ParameterValue[], String)

设置并验证与当前报表执行关联的参数值。Sets and validates parameter values associated with the current report execution.

SetExecutionParameters2(ParameterValue[], String)

设置并验证与当前报表执行关联的参数值。Sets and validates parameter values associated with the current report execution.

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

根据用户排序操作应用或取消执行排序。Applies or removes a sort for the execution based on a user sort action.

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

根据用户排序操作应用或取消执行排序。Applies or removes a sort for the execution based on a user sort action.

ToggleItem(String)

切换报表中的显示/隐藏项。Toggles the show/hide item in a report.

Applies to