ReportExecutionService Class

Definition

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

You must set the Url and Credentials properties of the web service before making any method calls.

Constructors

ReportExecutionService()

Initializes a new instance of the ReportExecutionService class.

Properties

ExecutionHeaderValue

Provides 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()

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()

Logs out the current user making Web service requests.

LogonUser(String, String, String)

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