Click or drag to resize
Task Scheduler Managed Class Library

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)

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
public bool RunOnlyIfLoggedOn { get; set; }
Request Example View Source

Property Value

Type: Boolean
Exceptions
ExceptionCondition
NotV2SupportedExceptionProperty set for a task on a Task Scheduler version other than 1.0.
See Also