Share via


SPTimerJobUsageEntry.Status property

Gets or sets a value from the SPRunningJobStatus enumeration that specifies the status of the timer job.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property Status As Integer
    Get
    Set
'Usage
Dim instance As SPTimerJobUsageEntry
Dim value As Integer

value = instance.Status

instance.Status = value
public int Status { get; set; }

Property value

Type: System.Int32
Returns an Int32 specifying the enumeration value.

Remarks

The values represent the status as follows:

  1. 1 = Initialized

  2. 2 = Succeeded

  3. 3 = Failed

  4. 4 = Retry

  5. 5 = Aborted

See also

Reference

SPTimerJobUsageEntry class

SPTimerJobUsageEntry members

Microsoft.SharePoint.Administration namespace