Click or drag to resize
Task Scheduler Managed Class Library

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.

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
public DateTime GetLastRegistrationTime()
Request Example View Source

Return Value

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