SPRunningJob.Status property
Gets the status of the running job.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property Status As SPRunningJobStatus
Get
'Usage
Dim instance As SPRunningJob
Dim value As SPRunningJobStatus
value = instance.Status
public SPRunningJobStatus Status { get; }
Property value
Type: Microsoft.SharePoint.Administration.SPRunningJobStatus
A SPRunningJobStatus that represents the current status of the running job.
Remarks
In some instances, jobs that complete successfully are removed from the system instead of having their status updated.