Udostępnij za pośrednictwem


ReportExecutionService Class

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

Namespace: Microsoft.WSSUX.ReportingServicesWebService.RSExecutionService2005
Assembly: ReportExecution2005 (in reportexecutionservice.dll)

Syntax

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

Remarks

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

Example

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ReportExecutionService Members
Microsoft.WSSUX.ReportingServicesWebService.RSExecutionService2005 Namespace