IFileSystemServiceFileSystemQuery Method (Int32, Int32, ICollectionGuid, FileSystemQueryOptions, IListTupleFileSystemQueryField, SortDirection, ICollectionFileSystemQueryFilterRule, Guid, Guid)

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 (24.4.0.1000)
Syntax
IList<FileSystemEntry> FileSystemQuery(
	int pageNumber,
	int pageSize,
	ICollection<Guid> queryRootIds,
	FileSystemQueryOptions queryOptions,
	IList<Tuple<FileSystemQueryField, SortDirection>>? orderBy,
	ICollection<FileSystemQueryFilterRule>? filter,
	Guid accountId,
	Guid objectPrivilegeId
)

Parameters

pageNumber
Type: SystemInt32
The page number, or 0 to indicate that all pages should be returned.
pageSize
Type: SystemInt32
The number of results in each page (ignored if pageNumber is 0).
queryRootIds
Type: System.Collections.GenericICollectionGuid
The collection of one or more entry IDs under which the query will be performed.
queryOptions
Type: Dundas.BI.FileSystemFileSystemQueryOptions
A bit mask comprised of one or more FileSystemQueryOptions that specify how the query is performed.
orderBy
Type: System.Collections.GenericIListTupleFileSystemQueryField, SortDirection
The sort order of the result, or if the order does not matter.
filter
Type: System.Collections.GenericICollectionFileSystemQueryFilterRule
The filter rules which should be applied to the query, or if no filters are required.
accountId
Type: SystemGuid
The account ID, which has granted objectPrivilegeId to the queried entries.
objectPrivilegeId
Type: SystemGuid
The object privilege ID, granted for accountId to the queried entries.

Return Value

Type: IListFileSystemEntry
The collection of FileSystemEntry objects matching the query criteria.
Exceptions
ExceptionCondition
NotFoundExceptionAn account with the specified ID was not found.
NoPrivilegeException

The account is not the caller's account.

-or-

The caller does not have system administration privileges.

-or-

The account is associated with a tenant, and the caller does not have administration privileges for that tenant.

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.

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