Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
IIdleSettings::get_RestartOnIdle method (taskschd.h)
Gets or sets a Boolean value that indicates whether the task is restarted when the computer cycles into an idle condition more than once.
This property is read/write.
Syntax
HRESULT get_RestartOnIdle(
VARIANT_BOOL *pRestart
);
Parameters
pRestart
Return value
None
Remarks
This property is only used if the StopOnIdleEnd property is set to True.
When reading or writing XML for a task, this setting is specified in the RestartOnIdle 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
Feedback
Was this page helpful?
