ReportingService2006.ListChildren Method (String)


Gets a list of children from a specified folder.

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

public CatalogItem[] ListChildren(
	string Item


Type: System.String

The fully qualified URL for the folder.

Return Value

Type: 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)
Return to top