FlexReport for .NET | ComponentOne
C1.Document Assembly / C1.Ssrs Namespace / ServerConnection Class / ListChildren Method
The full path name of the parent folder.
A Boolean value that indicates whether to return the entire tree of child items below the specified item.
System.Threading.CancellationToken that can be used to cancel a request.

In This Topic
    ListChildren Method (ServerConnection)
    In This Topic
    Gets a list of children of a specified folder.
    Syntax
    'Declaration
     
    Public Function ListChildren( _
       ByVal path As String, _
       ByVal recursive As Boolean, _
       ByVal cancellationToken As CancellationToken _
    ) As CatalogItem()
    public CatalogItem[] ListChildren( 
       string path,
       bool recursive,
       CancellationToken cancellationToken
    )

    Parameters

    path
    The full path name of the parent folder.
    recursive
    A Boolean value that indicates whether to return the entire tree of child items below the specified item.
    cancellationToken
    System.Threading.CancellationToken that can be used to cancel a request.

    Return Value

    An array of CatalogItem objects. If no children exist, this method returns an empty CatalogItem object.
    See Also