Open this page in the API Guide

IScheduleService.ScheduleQuery Method

Queries schedules.

Namespace:  Dundas.BI.Scheduling
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
IList<Schedule> ScheduleQuery(
	int pageNumber,
	int pageSize,
	IList<Tuple<ScheduleQueryField, SortDirection>>? orderBy,
	ICollection<ScheduleQueryFilterRule>? filter
)

Parameters

pageNumber
Type: System.Int32
The page number, or 0 to indicate that all pages should be returned.
pageSize
Type: System.Int32
The number of results in each page (ignored if pageNumber is 0).
orderBy
Type: System.Collections.Generic.IList<Tuple<ScheduleQueryField, SortDirection>>
The sort order of the result, or null if the order does not matter.
filter
Type: System.Collections.Generic.ICollection<ScheduleQueryFilterRule>
The filter rules which should be applied to the query, or null if no filters are required.

Return Value

Type: IList<Schedule>
The collection of Schedule matching the query criteria.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException

pageNumber is less than zero;

-or-

pageSize is less than or equal to zero.

InvalidOperationExceptionfilter contains invalid rule.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also