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.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
[DefaultValueAttribute(true)]
[XmlElementAttribute("AllowStartOnDemand")]
[XmlIgnoreAttribute]
public bool AllowDemandStart { get; set; }
Property Value
Boolean