ReportExecutionService 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
Reporting Services 執行網路服務允許開發者以程式化方式處理並呈現報告伺服器的報告。
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
- 繼承
-
ReportExecutionService
範例
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
備註
你必須在進行任何方法呼叫前先設定 Url 網路服務的 Credentials 屬性。
建構函式
| 名稱 | Description |
|---|---|
| ReportExecutionService() |
初始化 ReportExecutionService 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| ExecutionHeaderValue |
提供 SOAP 標頭資訊,包括用於報告執行時使用的 ExecutionID 。 |
| ServerInfoHeaderValue |
回傳關於報告伺服器的資訊。 |
| TrustedUserHeaderValue |
不會使用這個屬性。 |