Compartir a través de


ReportExecutionService Class

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

Espacio de nombres: Microsoft.WSSUX.ReportingServicesWebService.RSExecutionService2005
Ensamblado: ReportExecution2005 (in reportexecutionservice.dll)

Sintaxis

'Declaración
<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

Notas

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

Ejemplo

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

Seguridad para subprocesos

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.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

ReportExecutionService Members
Microsoft.WSSUX.ReportingServicesWebService.RSExecutionService2005 Namespace