Click or drag to resize
Task Scheduler Managed Class Library

TaskSettingsAllowDemandStart Property

Gets or sets a Boolean value that indicates that the task can be started by using either the Run command or the Context menu.

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
[DefaultValueAttribute(true)]
[XmlElementAttribute("AllowStartOnDemand")]
[XmlIgnoreAttribute]
public bool AllowDemandStart { get; set; }
Request Example View Source

Property Value

Boolean
Exceptions
ExceptionCondition
NotV1SupportedExceptionNot supported under Task Scheduler 1.0.
See Also