ReportExecutionService 类

The Reporting Services Execution Web service allows developers to programmatically process and render reports from a report server.

命名空间:  ReportExecution2005
程序集:  ReportExecution2005(在 ReportExecution2005.dll 中)

语法

声明
<WebServiceBindingAttribute(Name := "ReportExecutionServiceSoap", Namespace := "https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")> _
Public Class ReportExecutionService _
    Inherits SoapHttpClientProtocol
用法
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

ReportExecutionService 类型公开以下成员。

构造函数

  名称 说明
公共方法 ReportExecutionService Initializes a new instance of the ReportExecutionService class.

页首

属性

  名称 说明
公共属性 AllowAutoRedirect (从 HttpWebClientProtocol 继承。)
受保护属性 CanRaiseEvents (从 Component 继承。)
公共属性 ClientCertificates (从 HttpWebClientProtocol 继承。)
公共属性 ConnectionGroupName (从 WebClientProtocol 继承。)
公共属性 Container (从 Component 继承。)
公共属性 CookieContainer (从 HttpWebClientProtocol 继承。)
公共属性 Credentials (从 WebClientProtocol 继承。)
受保护属性 DesignMode (从 Component 继承。)
公共属性 EnableDecompression (从 HttpWebClientProtocol 继承。)
受保护属性 Events (从 Component 继承。)
公共属性 ExecutionHeaderValue Provides SOAP header information, including the ExecutionID used when working with report executions.
公共属性 PreAuthenticate (从 WebClientProtocol 继承。)
公共属性 Proxy (从 HttpWebClientProtocol 继承。)
公共属性 RequestEncoding (从 WebClientProtocol 继承。)
公共属性 ServerInfoHeaderValue Returns information about the report server.
公共属性 Site (从 Component 继承。)
公共属性 SoapVersion (从 SoapHttpClientProtocol 继承。)
公共属性 Timeout (从 WebClientProtocol 继承。)
公共属性 TrustedUserHeaderValue This property is not used.
公共属性 UnsafeAuthenticatedConnectionSharing (从 HttpWebClientProtocol 继承。)
公共属性 Url (从 WebClientProtocol 继承。)
公共属性 UseDefaultCredentials (从 WebClientProtocol 继承。)
公共属性 UserAgent (从 HttpWebClientProtocol 继承。)

页首

方法

  名称 说明
公共方法 Abort (从 WebClientProtocol 继承。)
受保护方法 BeginInvoke (从 SoapHttpClientProtocol 继承。)
受保护方法 CancelAsync (从 HttpWebClientProtocol 继承。)
公共方法 CreateObjRef (从 MarshalByRefObject 继承。)
公共方法 Discover (从 SoapHttpClientProtocol 继承。)
公共方法 Dispose() () () () (从 Component 继承。)
受保护方法 Dispose(Boolean) (从 Component 继承。)
受保护方法 EndInvoke (从 SoapHttpClientProtocol 继承。)
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 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 (从 Object 继承。)
公共方法 GetLifetimeService (从 MarshalByRefObject 继承。)
受保护方法 GetReaderForMessage (从 SoapHttpClientProtocol 继承。)
公共方法 GetRenderResource Returns the resource for a specified rendering extension format.
受保护方法 GetService (从 Component 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 GetWebRequest (从 SoapHttpClientProtocol 继承。)
受保护方法 GetWebResponse(WebRequest) (从 HttpWebClientProtocol 继承。)
受保护方法 GetWebResponse(WebRequest, IAsyncResult) (从 HttpWebClientProtocol 继承。)
受保护方法 GetWriterForMessage (从 SoapHttpClientProtocol 继承。)
公共方法 InitializeLifetimeService (从 MarshalByRefObject 继承。)
受保护方法 Invoke (从 SoapHttpClientProtocol 继承。)
受保护方法 InvokeAsync(String, array<Object> [] () [] [], SendOrPostCallback) (从 SoapHttpClientProtocol 继承。)
受保护方法 InvokeAsync(String, array<Object> [] () [] [], SendOrPostCallback, Object) (从 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() () () () (从 Object 继承。)
受保护方法 MemberwiseClone(Boolean) (从 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 (从 Component 继承。)

页首

事件

  名称 说明
公共事件 Disposed (从 Component 继承。)

页首

注释

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

示例

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

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。