ReportExecutionService.ListRenderingExtensions 메서드

Returns a list of rendering extensions.

네임스페이스:  ReportExecution2005
어셈블리:  ReportExecution2005(ReportExecution2005.dll)

public Extension[] ListRenderingExtensions()

반환 값

유형: 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:

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)

커뮤니티 추가 항목