مشاركة عبر


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
Public Class ReportExecutionService _
    Inherits SoapHttpClientProtocol
'Usage
Dim instance As ReportExecutionService
public class ReportExecutionService : SoapHttpClientProtocol
public ref class ReportExecutionService : public SoapHttpClientProtocol
type ReportExecutionService =  
    class 
        inherit SoapHttpClientProtocol 
    end
public class ReportExecutionService extends SoapHttpClientProtocol

The ReportExecutionService type exposes the following members.

Constructors

  Name Description
Public method ReportExecutionService Initializes a new instance of the ReportExecutionService class.

Top

Properties

  Name Description
Public property AllowAutoRedirect (Inherited from HttpWebClientProtocol.)
Protected property CanRaiseEvents (Inherited from Component.)
Public property ClientCertificates (Inherited from HttpWebClientProtocol.)
Public property ConnectionGroupName (Inherited from WebClientProtocol.)
Public property Container (Inherited from Component.)
Public property CookieContainer (Inherited from HttpWebClientProtocol.)
Public property Credentials (Inherited from WebClientProtocol.)
Protected property DesignMode (Inherited from Component.)
Public property EnableDecompression (Inherited from HttpWebClientProtocol.)
Protected property Events (Inherited from Component.)
Public property ExecutionHeaderValue Provides SOAP header information, including the ExecutionID used when working with report executions.
Public property PreAuthenticate (Inherited from WebClientProtocol.)
Public property Proxy (Inherited from HttpWebClientProtocol.)
Public property RequestEncoding (Inherited from WebClientProtocol.)
Public property ServerInfoHeaderValue Returns information about the report server.
Public property Site (Inherited from Component.)
Public property SoapVersion (Inherited from SoapHttpClientProtocol.)
Public property Timeout (Inherited from WebClientProtocol.)
Public property TrustedUserHeaderValue This property is not used.
Public property UnsafeAuthenticatedConnectionSharing (Inherited from HttpWebClientProtocol.)
Public property Url (Inherited from WebClientProtocol.)
Public property UseDefaultCredentials (Inherited from WebClientProtocol.)
Public property UserAgent (Inherited from HttpWebClientProtocol.)

Top

Methods

  Name Description
Public method Abort (Inherited from WebClientProtocol.)
Protected method BeginInvoke (Inherited from SoapHttpClientProtocol.)
Protected method CancelAsync (Inherited from HttpWebClientProtocol.)
Public method CreateObjRef Security Critical. (Inherited from MarshalByRefObject.)
Public method Discover (Inherited from SoapHttpClientProtocol.)
Public method Dispose() (Inherited from Component.)
Protected method Dispose(Boolean) (Inherited from Component.)
Protected method EndInvoke (Inherited from SoapHttpClientProtocol.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Component.)
Public method FindString Returns the logical page number of the next occurrence of the specified string.
Public method GetDocumentMap Returns the representation of the document map for the execution.
Public method GetExecutionInfo Returns information about the report execution.
Public method GetExecutionInfo2 Returns information about the report execution.
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService Security Critical. (Inherited from MarshalByRefObject.)
Protected method GetReaderForMessage (Inherited from SoapHttpClientProtocol.)
Public method GetRenderResource Returns the resource for a specified rendering extension format.
Protected method GetService (Inherited from Component.)
Public method GetType (Inherited from Object.)
Protected method GetWebRequest (Inherited from SoapHttpClientProtocol.)
Protected method GetWebResponse(WebRequest) (Inherited from HttpWebClientProtocol.)
Protected method GetWebResponse(WebRequest, IAsyncResult) (Inherited from HttpWebClientProtocol.)
Protected method GetWriterForMessage (Inherited from SoapHttpClientProtocol.)
Public method InitializeLifetimeService Security Critical. (Inherited from MarshalByRefObject.)
Protected method Invoke (Inherited from SoapHttpClientProtocol.)
Protected method InvokeAsync(String, array<Object[], SendOrPostCallback) (Inherited from SoapHttpClientProtocol.)
Protected method InvokeAsync(String, array<Object[], SendOrPostCallback, Object) (Inherited from SoapHttpClientProtocol.)
Public method ListRenderingExtensions Returns a list of rendering extensions.
Public method ListSecureMethods Returns a list of SOAP methods that require a secure (SSL) connection when invoked.
Public method LoadDrillthroughTarget Creates a report execution from a drillthrough action.
Public method LoadDrillthroughTarget2 Creates a report execution from a drillthrough action.
Public method LoadReport Loads a report from the report server into a new execution.
Public method LoadReport2 Loads a report from the report server into a new execution.
Public method LoadReportDefinition Creates a report execution from a report definition supplied by the client.
Public method LoadReportDefinition2 Creates a report execution from a report definition supplied by the client.
Public method Logoff Logs out the current user making Web service requests.
Public method LogonUser Logs on a user and authenticates a user request to the Report Server Web service.
Protected method MemberwiseClone() (Inherited from Object.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObject.)
Public method NavigateBookmark Navigates to a specific bookmark in the report.
Public method NavigateDocumentMap Navigates to a specific section of the report.
Public method Render Processes a specific report and renders it in the specified format.
Public method Render2 Processes a specific report and renders it in the specified format.
Public method RenderStream Gets a secondary rendering stream associated with a processed report.
Public method ResetExecution Resets the current report execution by clearing the snapshot and resetting the session state.
Public method ResetExecution2 Resets the current report execution by clearing the snapshot and resetting the session state.
Public method SetExecutionCredentials Sets the credentials associated with the current report execution.
Public method SetExecutionCredentials2 Sets the credentials associated with the current report execution.
Public method SetExecutionParameters Sets and validates parameter values associated with the current report execution.
Public method SetExecutionParameters2 Sets and validates parameter values associated with the current report execution.
Public method Sort Applies or removes a sort for the execution based on a user sort action.
Public method Sort2 Applies or removes a sort for the execution based on a user sort action.
Public method ToggleItem Toggles the show/hide item in a report.
Public method ToString (Inherited from Component.)

Top

Events

  Name Description
Public event Disposed (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/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

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.

See Also

Reference

ReportExecution2005 Namespace