ReportingService2006.ListExtensions 메서드

Returns a list of extensions that are configured for a given extension type.

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

public Extension[] ListExtensions(
	ExtensionTypeEnum ExtensionType

매개 변수

유형: ReportService2006.ExtensionTypeEnum
The extension type for which to list the configured extensions. Available values are Delivery, Render, Data, or All. For more information, see ExtensionTypeEnum.

반환 값

유형: ReportService2006.Extension[]
The table below shows header and permissions information on this operation.

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions


Returns an array of Extension objects that contain the available extensions.

using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Web;
using System.Web.Services;
using System.Web.Services.Protocols;

class Sample
    static void Main(string[] args)
        ReportingService2006 rs = new ReportingService2006();
        rs.Url = "http://<Server Name>/_vti_bin/ReportServer/" +
        rs.Credentials = 

        Extension[] extensions = null;

        // Retrieve a list of all supported 
        // data processing extensions. 
            extensions = rs.ListExtensions(ExtensionTypeEnum.Data);

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