IJobServiceGetLatestJobRunEventForJobs 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 (24.3.0.1000)
Syntax
IDictionary<Guid, JobRunEvent> GetLatestJobRunEventForJobs(
	ICollection<Guid> jobIds
)

Parameters

jobIds
Type: System.Collections.GenericICollectionGuid
The job IDs.

Return Value

Type: IDictionaryGuid, JobRunEvent
A dictionary (keyed by job ID) containing the latest job run event for that job.
Exceptions
ExceptionCondition
ArgumentNullExceptionjobIds is .
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 . 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