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