共用方式為


ReportExecutionService Class

The Reporting Services Execution web service allows developers to programmatically process and render reports from a Report Server.

命名空間: Microsoft.WSSUX.ReportingServicesWebService.RSExecutionService2005
組件: ReportExecution2005 (in reportexecutionservice.dll)

語法

'宣告
<XmlIncludeAttribute(GetType(ParameterValueOrFieldReference))> _
<WebServiceBindingAttribute(Name:="ReportExecutionServiceSoap", Namespace:="https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")> _
<DesignerCategoryAttribute("code")> _
<DebuggerStepThroughAttribute> _
Public Class ReportExecutionService
    Inherits SoapHttpClientProtocol
[XmlIncludeAttribute(typeof(ParameterValueOrFieldReference))] 
[WebServiceBindingAttribute(Name="ReportExecutionServiceSoap", Namespace="https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")] 
[DesignerCategoryAttribute("code")] 
[DebuggerStepThroughAttribute] 
public class ReportExecutionService : SoapHttpClientProtocol
[XmlIncludeAttribute(typeof(ParameterValueOrFieldReference))] 
[WebServiceBindingAttribute(Name=L"ReportExecutionServiceSoap", Namespace=L"https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices")] 
[DesignerCategoryAttribute(L"code")] 
[DebuggerStepThroughAttribute] 
public ref class ReportExecutionService : public SoapHttpClientProtocol
/** @attribute XmlIncludeAttribute(Microsoft.WSSUX.ReportingServicesWebService.RSExecutionService2005.ParameterValueOrFieldReference) */ 
/** @attribute WebServiceBindingAttribute(Name="ReportExecutionServiceSoap", Namespace="https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices") */ 
/** @attribute DesignerCategoryAttribute("code") */ 
/** @attribute DebuggerStepThroughAttribute() */ 
public class ReportExecutionService extends SoapHttpClientProtocol
XmlIncludeAttribute(Microsoft.WSSUX.ReportingServicesWebService.RSExecutionService2005.ParameterValueOrFieldReference) 
WebServiceBindingAttribute(Name="ReportExecutionServiceSoap", Namespace="https://schemas.microsoft.com/sqlserver/2005/06/30/reporting/reportingservices") 
DesignerCategoryAttribute("code") 
DebuggerStepThroughAttribute 
public class ReportExecutionService extends SoapHttpClientProtocol

備註

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

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
     System.ComponentModel.Component
       System.Web.Services.Protocols.WebClientProtocol
         System.Web.Services.Protocols.HttpWebClientProtocol
           System.Web.Services.Protocols.SoapHttpClientProtocol
            Microsoft.WSSUX.ReportingServicesWebService.RSExecutionService2005.ReportExecutionService

範例

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

執行緒安全性

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

平台

開發平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

目標平台

如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。

請參閱

參考

ReportExecutionService Members
Microsoft.WSSUX.ReportingServicesWebService.RSExecutionService2005 Namespace