A Sandcastle Documented Class Library

# IJobService GetJobRun Method

Gets a job run.

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

    JobRun GetJobRun(
    	long jobRunId
    )

    Function GetJobRun (
    	jobRunId As Long
    ) As JobRun

    JobRun^ GetJobRun(
    	long long jobRunId
    )

    abstract GetJobRun :
            jobRunId : int64 -> JobRun

#### Parameters

jobRunId
  Type: System
  Int64
  The ID of the job run.

#### Return Value

Type: JobRun
The job run.
Exceptions

Exception | Condition
--- | ---
ArgumentOutOfRangeException | jobRunId is less than or equal to zero.
NotFoundException | The specified job run was not found or has been deleted.
NoPrivilegeException | The caller does not have permission to view the job associated with the job run.
InvalidSessionException | The caller context is not associated with a valid session.

See Also

#### Reference

IJobService Interface
Dundas.BI.Scheduling Namespace
Job
CanBeReadByCaller