ReportExecutionService Class
The Reporting Services Execution Web service allows developers to programmatically process and render reports from a report server.
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Web.Services.Protocols.WebClientProtocol
System.Web.Services.Protocols.HttpWebClientProtocol
System.Web.Services.Protocols.SoapHttpClientProtocol
ReportExecution2005.ReportExecutionService
Namespace: ReportExecution2005
Assembly: ReportExecution2005 (in ReportExecution2005.dll)
Syntax
'Declaration
<WebServiceBindingAttribute(Name := "ReportExecutionServiceSoap", Namespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")> _
Public Class ReportExecutionService _
Inherits SoapHttpClientProtocol
'Usage
Dim instance As ReportExecutionService
[WebServiceBindingAttribute(Name = "ReportExecutionServiceSoap", Namespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")]
public class ReportExecutionService : SoapHttpClientProtocol
[WebServiceBindingAttribute(Name = L"ReportExecutionServiceSoap", Namespace = L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")]
public ref class ReportExecutionService : public SoapHttpClientProtocol
[<WebServiceBindingAttribute(Name = "ReportExecutionServiceSoap", Namespace = "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")>]
type ReportExecutionService =
class
inherit SoapHttpClientProtocol
end
public class ReportExecutionService extends SoapHttpClientProtocol
The ReportExecutionService type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ReportExecutionService | Initializes a new instance of the ReportExecutionService class. |
Top
Properties
Top
Methods
Name | Description | |
---|---|---|
Abort | (Inherited from WebClientProtocol.) | |
BeginInvoke | (Inherited from SoapHttpClientProtocol.) | |
CancelAsync | (Inherited from HttpWebClientProtocol.) | |
CreateObjRef | (Inherited from MarshalByRefObject.) | |
Discover | (Inherited from SoapHttpClientProtocol.) | |
Dispose() | (Inherited from Component.) | |
Dispose(Boolean) | (Inherited from Component.) | |
EndInvoke | (Inherited from SoapHttpClientProtocol.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Component.) | |
FindString | 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. | |
GetHashCode | (Inherited from Object.) | |
GetLifetimeService | (Inherited from MarshalByRefObject.) | |
GetReaderForMessage | (Inherited from SoapHttpClientProtocol.) | |
GetRenderResource | Returns the resource for a specified rendering extension format. | |
GetService | (Inherited from Component.) | |
GetType | (Inherited from Object.) | |
GetWebRequest | (Inherited from SoapHttpClientProtocol.) | |
GetWebResponse(WebRequest) | (Inherited from HttpWebClientProtocol.) | |
GetWebResponse(WebRequest, IAsyncResult) | (Inherited from HttpWebClientProtocol.) | |
GetWriterForMessage | (Inherited from SoapHttpClientProtocol.) | |
InitializeLifetimeService | (Inherited from MarshalByRefObject.) | |
Invoke | (Inherited from SoapHttpClientProtocol.) | |
InvokeAsync(String, array<Object[], SendOrPostCallback) | (Inherited from SoapHttpClientProtocol.) | |
InvokeAsync(String, array<Object[], SendOrPostCallback, Object) | (Inherited from SoapHttpClientProtocol.) | |
ListRenderingExtensions | Returns a list of rendering extensions. | |
ListSecureMethods | Returns a list of SOAP methods that require a secure (SSL) connection when invoked. | |
LoadDrillthroughTarget | Creates a report execution from a drillthrough action. | |
LoadDrillthroughTarget2 | Creates a report execution from a drillthrough action. | |
LoadReport | Loads a report from the report server into a new execution. | |
LoadReport2 | Loads a report from the report server into a new execution. | |
LoadReportDefinition | Creates a report execution from a report definition supplied by the client. | |
LoadReportDefinition2 | Creates a report execution from a report definition supplied by the client. | |
Logoff | Logs out the current user making Web service requests. | |
LogonUser | Logs on a user and authenticates a user request to the Report Server Web service. | |
MemberwiseClone() | (Inherited from Object.) | |
MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) | |
NavigateBookmark | Navigates to a specific bookmark in the report. | |
NavigateDocumentMap | Navigates to a specific section of the report. | |
Render | Processes a specific report and renders it in the specified format. | |
Render2 | Processes a specific report and renders it in the specified format. | |
RenderStream | 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 | Sets the credentials associated with the current report execution. | |
SetExecutionCredentials2 | Sets the credentials associated with the current report execution. | |
SetExecutionParameters | Sets and validates parameter values associated with the current report execution. | |
SetExecutionParameters2 | Sets and validates parameter values associated with the current report execution. | |
Sort | Applies or removes a sort for the execution based on a user sort action. | |
Sort2 | Applies or removes a sort for the execution based on a user sort action. | |
ToggleItem | Toggles the show/hide item in a report. | |
ToString | (Inherited from Component.) |
Top
Remarks
You must set the Url and Credentials properties of the web service before making any method calls.
Examples
Dim rs As New myNamespace.myReferenceName.ReportExecutionService()
rs.Url = "http://myservername.reportserver/ReportExecution2005.asmx?wsdl"
rs.Credentials = System.Net.CredentialCache.DefaultCredentials
myNamespace.myReferenceName.ReportExecutionService rs = new myNamespace.myReferenceName.ReportExecutionService();
rs.Url = "http://myservername.reportserver/reportexecution2005.asmx?wsdl"
rs.Credentials = System.Net.CredentialCache.DefaultCredentials
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.