TaskSettingsRunOnlyIfLoggedOn Property

Gets or sets a Boolean value that indicates that the Task Scheduler will run the task only if the user is logged on (v1.0 only)

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
[XmlIgnoreAttribute]
public bool RunOnlyIfLoggedOn { get; set; }

Property Value

Boolean

Exceptions

NotV2SupportedExceptionProperty set for a task on a Task Scheduler version other than 1.0.

See Also