IJobServiceGetJob(Guid, RelatedJobsIncludeKinds) Method

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 (26.2.0.1000)
Syntax
ICollection<Job> GetJob(
	Guid jobId,
	RelatedJobsIncludeKinds relatedJobsIncludeKinds
)

Parameters

jobId  Guid
The ID of the job.
relatedJobsIncludeKinds  RelatedJobsIncludeKinds
The include kinds of related jobs. Related jobs will only be retrieved for a non-tenant job.

Return Value

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