Skip to content

Latest commit

 

History

History
73 lines (59 loc) · 3.31 KB

nf-taskschd-iregistrationtrigger-get_delay.md

File metadata and controls

73 lines (59 loc) · 3.31 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:taskschd.IRegistrationTrigger.get_Delay
IRegistrationTrigger::get_Delay (taskschd.h)
Gets or sets the amount of time between when the task is registered and when the task is started. (Get)
Delay property [Task Scheduler]
Delay property [Task Scheduler]
IRegistrationTrigger interface
IRegistrationTrigger interface [Task Scheduler]
Delay property
IRegistrationTrigger.Delay
IRegistrationTrigger.get_Delay
IRegistrationTrigger::Delay
IRegistrationTrigger::get_Delay
IRegistrationTrigger::put_Delay
get_Delay
taskschd.iregistrationtrigger_delay
taskschd/IRegistrationTrigger::Delay
taskschd/IRegistrationTrigger::get_Delay
taskschd/IRegistrationTrigger::put_Delay
taskschd\iregistrationtrigger_delay.htm
taskschd
9331dd84-a040-4778-baa4-b61981ec6444
12/05/2018
Delay property [Task Scheduler], Delay property [Task Scheduler],IRegistrationTrigger interface, IRegistrationTrigger interface [Task Scheduler],Delay property, IRegistrationTrigger.Delay, IRegistrationTrigger.get_Delay, IRegistrationTrigger::Delay, IRegistrationTrigger::get_Delay, IRegistrationTrigger::put_Delay, get_Delay, taskschd.iregistrationtrigger_delay, taskschd/IRegistrationTrigger::Delay, taskschd/IRegistrationTrigger::get_Delay, taskschd/IRegistrationTrigger::put_Delay
taskschd.h
Windows
Windows Vista [desktop apps only]
Windows Server 2008 [desktop apps only]
Taskschd.lib
Taskschd.dll
Windows
19H1
IRegistrationTrigger::get_Delay
taskschd/IRegistrationTrigger::get_Delay
c++
APIRef
kbSyntax
COM
taskschd.dll
IRegistrationTrigger.Delay
IRegistrationTrigger.get_Delay
IRegistrationTrigger.put_Delay

IRegistrationTrigger::get_Delay

-description

Gets or sets the amount of time between when the task is registered and when the task is started. The format for this string is PnYnMnDTnHnMnS, where nY is the number of years, nM is the number of months, nD is the number of days, 'T' is the date/time separator, nH is the number of hours, nM is the number of minutes, and nS is the number of seconds (for example, PT5M specifies 5 minutes and P1M4DT2H5M specifies one month, four days, two hours, and five minutes).

This property is read/write.

-parameters

-remarks

When reading or writing XML for a task, the boot delay is specified using the Delay element of the Task Scheduler schema.

If a task with a delayed registration trigger is registered, and the computer that the task is registered on is shutdown or restarted during the delay (before the task runs), then the task will not run and the delay will be lost.

-see-also

IRegistrationTrigger

Task Scheduler