IRegisteredTask::LastRunTime property

Gets the time the registered task was last run.

This property is read-only.

Syntax


HRESULT get_LastRunTime(
  [out]  DATE *pLastRunTime
);

Property value

The time the registered task was last run.

Error codes

NameMeaning
S_OK

The property value was successfully retrieved.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Taskschd.h

Library

Taskschd.lib

DLL

Taskschd.dll

See also

Task Scheduler
IRegisteredTask

 

 

Community Additions

ADD
Show:
© 2014 Microsoft