ITokenServiceTokenQueryCount Method

Gets the number of 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.4.0.1000)
Syntax
int TokenQueryCount(
	ICollection<TokenQueryFilterRule>? filter
)

Parameters

filter
Type: System.Collections.GenericICollectionTokenQueryFilterRule
The filter rules which should be applied to the query, or if no filters are required.

Return Value

Type: Int32
The number of token definitions matching the query criteria.
Exceptions
ExceptionCondition
InvalidOperationExceptionfilter contains invalid rule.
InvalidSessionExceptionThe caller context is not associated with a valid session.
Remarks
The results are automatically filtered to exclude tokens which are not accessible to the caller.
See Also