IJobServiceRunJobAsync Method (Guid)

Runs a job asynchronously.

Namespace:  Dundas.BI.Scheduling
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (9.0.0.1000)
Syntax
Task RunJobAsync(
	Guid jobId
)

Parameters

jobId
Type: SystemGuid
The ID of the job.

Return Value

Type: Task
A task representing the asynchronous operation.
Exceptions
ExceptionCondition
ArgumentExceptionjobId is Empty.
NotFoundExceptionThe job could not be found.
JobAlreadyRunningExceptionThe job is already running.
InvalidOperationException

The job has been deleted.

-or-

The job is disabled.

NoPrivilegeExceptionThe caller does not have permission to run the job.
InvalidSessionExceptionThe caller context is not associated with a valid session.
See Also