Share via


SPJobDefinition.LastRunTime property

Gets the last run time of the job definition.

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

Syntax

'Declaration
Public ReadOnly Property LastRunTime As DateTime
    Get
'Usage
Dim instance As SPJobDefinition
Dim value As DateTime

value = instance.LastRunTime
public DateTime LastRunTime { get; }

Property value

Type: System.DateTime
A DateTime object.

See also

Reference

SPJobDefinition class

SPJobDefinition members

Microsoft.SharePoint.Administration namespace