ITenantsProviderQueryCount Method

Queries for the number of tenants matching a filter criteria.

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

Parameters

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

Return Value

Type: Int32
The number of tenants matching the filter.
Remarks
Note Notes to Implementers
This method only needs to be implemented if SupportedQueryOperations includes Count. Otherwise, the method will not be called and implementers should throw a NotSupportedException. If SupportedQueryOperations includes Count but not Filter, then the filter parameter may be ignored.
See Also