Open this page in the API Guide

IJobService.ClearOldJobData 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 (25.1.0.1000)
Syntax
void ClearOldJobData(
	DateTime? beforeDate
)

Parameters

beforeDate
Type: System.Nullable<DateTime>
The date to use for determining which data to delete, or null 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