共用方式為


SPJobDefinition.LastRunTime Property

Gets the last run time of the job definition.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

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