Condividi tramite


ReportExecutionService Class

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

Spazio dei nomi: Microsoft.WSSUX.ReportingServicesWebService.RSExecutionService2005
Assembly : ReportExecution2005 (in reportexecutionservice.dll)

Sintassi

'Dichiarazione
<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

Osservazioni

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

Esempio

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

Thread Safety

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

ReportExecutionService Members
Microsoft.WSSUX.ReportingServicesWebService.RSExecutionService2005 Namespace