ReportingService2006.ListChildren 메서드

Gets a list of children from a specified folder.

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

public CatalogItem[] ListChildren(
	string Item

매개 변수

유형: System.String
The fully qualified URL for the folder.

반환 값

유형: ReportService2006.CatalogItem[]
An array of CatalogItem objects. If no children exist, this method returns an empty CatalogItem array.

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

SOAP Headers

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Required Permissions


This method returns all the children of Item to which the user has ViewListItems permission.

Calling ListChildren on the catalog root, “/”, returns the top level list of sites.

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 = 

        CatalogItem[] items = null;

            items = rs.ListChildren("/");

            foreach (CatalogItem item in items)
                Console.WriteLine("Name: " + item.Name);
                Console.WriteLine("Path: " + item.Path);
                Console.WriteLine("Type: " + item.Type.ToString());

        catch (SoapException e)

커뮤니티 추가 항목