ITokenServiceTokenQuery Method |
Gets the tokens corresponding to the query criteria.
Namespace:
Dundas.BI.Data.Parameters.Tokens
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax IList<TokenDefinition> TokenQuery(
int pageNumber,
int pageSize,
IList<Tuple<TokenQueryField, SortDirection>>? orderBy,
ICollection<TokenQueryFilterRule>? filter
)
Function TokenQuery (
pageNumber As Integer,
pageSize As Integer,
orderBy As IList(Of Tuple(Of TokenQueryField, SortDirection)),
filter As ICollection(Of TokenQueryFilterRule)
) As IList(Of TokenDefinition)
IList<TokenDefinition^>^ TokenQuery(
int pageNumber,
int pageSize,
IList<Tuple<TokenQueryField, SortDirection>^>^ orderBy,
ICollection<TokenQueryFilterRule^>^ filter
)
abstract TokenQuery :
pageNumber : int *
pageSize : int *
orderBy : IList<Tuple<TokenQueryField, SortDirection>> *
filter : ICollection<TokenQueryFilterRule> -> IList<TokenDefinition>
Parameters
- pageNumber
- Type: SystemInt32
The page number. - pageSize
- Type: SystemInt32
The number of results in each page. - orderBy
- Type: System.Collections.GenericIListTupleTokenQueryField, SortDirection
The sort order of the result, or if the order does not matter. - filter
- Type: System.Collections.GenericICollectionTokenQueryFilterRule
The filter rules which should be applied to the query, or if no filters are required.
Return Value
Type:
IListTokenDefinition
The collection of token definitions matching the query criteria.
Exceptions Remarks
The results are automatically filtered to exclude tokens which are not accessible to the caller.
See Also