ReportExecutionService.ListRenderingExtensions Method

Returns a list of rendering extensions.

Namespace:  ReportExecution2005
Assembly:  ReportExecution2005 (in ReportExecution2005.dll)


<SoapHeaderAttribute("TrustedUserHeaderValue")> _
<SoapHeaderAttribute("ServerInfoHeaderValue", Direction := SoapHeaderDirection.Out)> _
<SoapDocumentMethodAttribute("", RequestNamespace := "",  _
    ResponseNamespace := "",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ListRenderingExtensions As Extension()
Dim instance As ReportExecutionService
Dim returnValue As Extension()

returnValue = instance.ListRenderingExtensions()
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("", RequestNamespace = "", 
    ResponseNamespace = "", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public Extension[] ListRenderingExtensions()
[SoapHeaderAttribute(L"ServerInfoHeaderValue", Direction = SoapHeaderDirection::Out)]
[SoapDocumentMethodAttribute(L"", RequestNamespace = L"", 
    ResponseNamespace = L"", 
    Use = SoapBindingUse::Literal, ParameterStyle = SoapParameterStyle::Wrapped)]
array<Extension^>^ ListRenderingExtensions()
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapDocumentMethodAttribute("", RequestNamespace = "", 
    ResponseNamespace = "", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
member ListRenderingExtensions : unit -> Extension[] 
public function ListRenderingExtensions() : Extension[]

Return Value

Type: array<ReportExecution2005.Extension[]
An array of Extension objects that contains the available rendering extensions.


The table below shows header and permissions information on this operation.

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions


SharePoint Mode Required Permissions



To compile the following code example, you must reference the Reporting Services WSDL and import certain namespaces. For more information, see Compiling and Running Code Examples. The following code example retrieves a list of all rendering extensions:

Imports System
Imports System.Web.Services.Protocols
Imports myNamespace.myWebserviceReference

Class Sample
   Public Shared Sub Main()
      Dim rs As New ReportExecutionService()
      rs.Credentials = System.Net.CredentialCache.DefaultCredentials

      ' Set the base Web service URL of the source server
      rs.Url = "http://servername/reportserver/ReportExecution2005.asmx"

      Dim extensions As Extension() = Nothing

      ' Retrieve a list of all supported data processing extensions. 
         extensions = rs.ListRenderingExtensions()

         If Not (extensions Is Nothing) Then
            Dim extension As Extension
            For Each extension In  extensions
               Console.WriteLine("Name: {0}", extension.Name)
            Next extension
         End If

      Catch e As SoapException
      End Try
   End Sub 'Main
End Class 'Sample
using System;
using System.Web.Services.Protocols;
using myNamespace.myWebserviceReference;

class Sample
   public static void Main()
      ReportingService rs = new ReportExecutionService();

      // Set the base Web service URL of the source server
      rs.Url = "http://servername/reportserver/ReportExecution2005.asmx";

      rs.Credentials = System.Net.CredentialCache.DefaultCredentials;

      Extension[] extensions = null;

      // Retrieve a list of all renderingextensions. 
         extensions = rs.ListRenderingExtensions();

         if (extensions != null)
            foreach (Extension extension in extensions)
               Console.WriteLine("Name: {0}", extension.Name);

      catch (SoapException e)