A Sandcastle Documented Class Library

# IJobService GetJobRuns Method

Gets the job runs for the specified job.

Namespace: Dundas.BI.Scheduling
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    ICollection<JobRun> GetJobRuns(
    	Guid jobId
    )

    Function GetJobRuns (
    	jobId As Guid
    ) As ICollection(Of JobRun)

    ICollection<JobRun^>^ GetJobRuns(
    	Guid jobId
    )

    abstract GetJobRuns :
            jobId : Guid -> ICollection<JobRun>

#### Parameters

jobId
  Type: System
  Guid
  The ID of the job.

#### Return Value

Type: ICollection
JobRun
The job runs for the specified job.
Exceptions

Exception | Condition
--- | ---
ArgumentException | jobId is Empty.
NotFoundException | The specified job run was not found or has been deleted.
NoPrivilegeException | The caller does not have permission to view the job.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

IJobService Interface
Dundas.BI.Scheduling Namespace
Job
CanBeReadByCaller