FlexReport for .NET | ComponentOne
C1.Document Assembly / C1.Ssrs Namespace / ServerConnection Class / ListChildrenAsync 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
    ListChildrenAsync Method (ServerConnection)
    In This Topic
    Async version of ListChildren method.
    Syntax
    'Declaration
     
    Public Function ListChildrenAsync( _
       ByVal path As String, _
       ByVal recursive As Boolean, _
       ByVal cancellationToken As CancellationToken _
    ) As Task(Of CatalogItem())
    public Task<CatalogItem[]> ListChildrenAsync( 
       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

    Task{RS.CatalogItem[]} returning an array of CatalogItem objects. If no children exist, this method returns an empty CatalogItem object.
    See Also