Open this page in the API Guide

IJobService.GetLatestJobRunEventForJobs Method

Gets the latest job run event for each of the specified jobs.

Namespace:  Dundas.BI.Scheduling
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.1.0.1000)
Syntax
IDictionary<Guid, JobRunEvent> GetLatestJobRunEventForJobs(
	ICollection<Guid> jobIds
)

Parameters

jobIds
Type: System.Collections.Generic.ICollection<Guid>
The job IDs.

Return Value

Type: IDictionary<Guid, JobRunEvent>
A dictionary (keyed by job ID) containing the latest job run event for that job.
Exceptions
ExceptionCondition
ArgumentNullExceptionjobIds is null.
NoPrivilegeException

The caller does not have permission to read one or more of the specified jobs.

InvalidSessionExceptionThe caller context is not associated with a valid session.
Remarks
If there are no job run events corresponding to a particular job, the resulting dictionary will contain a value of null. If a job ID is specified which corresponds to a job that doesn't exist, there will be no corresponding entry in the resulting dictionary.
See Also