共用方式為


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) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。