IJobServiceClearOldJobData Method

Clears job run events, job runs, and deleted jobs older than the specified date.

Namespace:  Dundas.BI.Scheduling
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
void ClearOldJobData(
	DateTime? beforeDate
)

Parameters

beforeDate
Type: SystemNullableDateTime
The date to use for determining which data to delete, or if the value should be determined automatically using the JobDataMaxAge configuration setting.
Exceptions
ExceptionCondition
NoPrivilegeExceptionThe caller does not have administrative privileges.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also