Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IJobManager.StartJob Method

Starts a portal job.

int StartJob(
int jobID
);

#### Parameters

jobID
  the ID of the job to start

#### Return Value

`0` if sucessful, otherwise a `LockStatus` indicating why the job could not be started

#### Remarks

The job start time will be set to the current (SOAP) server time. If the time could not be set the reason can be determined from the return code as a `Plumtree.Remote.PRC.LockStatus`.

`LockStatus.UNLOCKED` this is `0` and indicates success.
`LockStatus.LOCKED` indicates that the job is currently locked and cannot be edited.
Other LockStatus's should not occur.

#### See Also

IJobManager Interface | Plumtree.Remote.PRC Namespace