IJobServiceGetJob Method (Guid, RelatedJobsIncludeKinds)

Gets a job with or without related jobs.

Namespace:  Dundas.BI.Scheduling
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
ICollection<Job> GetJob(
	Guid jobId,
	RelatedJobsIncludeKinds relatedJobsIncludeKinds
)

Parameters

jobId
Type: SystemGuid
The ID of the job.
relatedJobsIncludeKinds
Type: Dundas.BI.SchedulingRelatedJobsIncludeKinds
The include kinds of related jobs. Related jobs will only be retrieved for a non-tenant job.

Return Value

Type: ICollectionJob
The job with or without related jobs.
Exceptions
ExceptionCondition
ArgumentExceptionjobId is Empty.
NotFoundExceptionThe specified job was not found or has been deleted.
NoPrivilegeException

The caller does not have permission to view the job.

InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also