INotificationServiceNotificationQueryCount Method

Gets the number of notifications corresponding to query criteria.

Namespace: Dundas.BI.Notifications
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
int NotificationQueryCount(
	ICollection<NotificationQueryFilterRule>? filter
)

Parameters

filter  ICollectionNotificationQueryFilterRule
The filter rules which should be applied to the query, or if the total number of records should be returned.

Return Value

Int32
The number of notifications matching the filter criteria.
Exceptions
ExceptionCondition
InvalidOperationExceptionfilter contains invalid rule.
NoPrivilegeException

The caller does not have system administration privileges.

-or-

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

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 notifications associated with that tenant are included.
See Also