IAccountServiceAccountQueryCount Method

Gets the number of accounts corresponding to filter criteria.

Namespace:  Dundas.BI.AccountServices
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
int AccountQueryCount(
	ICollection<AccountQueryFilterRule>? filter
)

Parameters

filter
Type: System.Collections.GenericICollectionAccountQueryFilterRule
The filter rules which should be applied to the query, or if the total number of records should be returned.

Return Value

Type: Int32
The number of accounts matching the filter criteria.
Exceptions
ExceptionCondition
InvalidOperationExceptionfilter contains invalid rule.
InvalidSessionExceptionThe caller context is not associated with a valid session.
Remarks
If the caller is associated with a tenant, the results will be filtered so that only accounts associated with that tenant are included.
See Also