TaskGetLastRegistrationTime Method

Gets the last registration time, looking first at the Date value and then looking for the most recent registration event in the Event Log.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.0
public DateTime GetLastRegistrationTime()

Return Value

DateTime
DateTime of the last registration or MinValue if no value can be found.

See Also