Open this page in the API Guide

IFileSystemService.FileSystemQuery Method (Int32, Int32, ICollection<Guid>, FileSystemQueryOptions, IList<Tuple<FileSystemQueryField, SortDirection>>, ICollection<FileSystemQueryFilterRule>)

Queries file system entries corresponding to the specified criteria.

Namespace:  Dundas.BI.FileSystem
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
IList<FileSystemEntry> FileSystemQuery(
	int pageNumber,
	int pageSize,
	ICollection<Guid> queryRootIds,
	FileSystemQueryOptions queryOptions,
	IList<Tuple<FileSystemQueryField, SortDirection>>? orderBy,
	ICollection<FileSystemQueryFilterRule>? filter
)

Parameters

pageNumber
Type: System.Int32
The page number, or 0 to indicate that all pages should be returned.
pageSize
Type: System.Int32
The number of results in each page (ignored if pageNumber is 0).
queryRootIds
Type: System.Collections.Generic.ICollection<Guid>
The collection of one or more entry IDs under which the query will be performed.
queryOptions
Type: Dundas.BI.FileSystem.FileSystemQueryOptions
A bit mask comprised of one or more FileSystemQueryOptions that specify how the query is performed.
orderBy
Type: System.Collections.Generic.IList<Tuple<FileSystemQueryField, SortDirection>>
The sort order of the result, or null if the order does not matter.
filter
Type: System.Collections.Generic.ICollection<FileSystemQueryFilterRule>
The filter rules which should be applied to the query, or null if no filters are required.

Return Value

Type: IList<FileSystemEntry>
The collection of FileSystemEntry objects matching the query criteria.
Exceptions
ExceptionCondition
NotFoundExceptionThere exists at least one entry ID specified by queryRootIds which does not exist.
ArgumentOutOfRangeExceptionpageNumber is less than zero; -or- pageSize is less or equal to than zero.
ArgumentExceptionqueryRootId is Empty.
InvalidOperationException

An invalid field was specified in orderBy.

-or-

filter contains an invalid rule.

NoPrivilegeException The caller does not have permission to access a query root, and SkipQueryRootSecurityCheck has not been specified.
InvalidSessionExceptionThe caller context is not associated with a valid session.
Remarks
To query under all standard projects, specify ProjectsRootFolder as the query root ID.
See Also