IRegistrationInfo::get_Date method (taskschd.h)

Gets or sets the date and time when the task is registered.

This property is read/write.

Syntax

HRESULT get_Date(
  BSTR *pDate
);

Parameters

pDate

Return value

None

Remarks

When reading or writing XML for a task, the registration date is specified using the Date element of the Task Scheduler schema.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header taskschd.h
Library Taskschd.lib
DLL Taskschd.dll

See also

IRegistrationInfo

Task Scheduler