Click or drag to resize
Task Scheduler Managed Class Library

TaskPrincipalLogonType Property

Gets or sets the security logon method that is required to run the tasks that are associated with the principal.

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
[DefaultValueAttribute(typeof(TaskLogonType), "None")]
public TaskLogonType LogonType { get; set; }
Request Example View Source

Property Value

TaskLogonType
Exceptions
ExceptionCondition
NotV1SupportedException TaskLogonType values of Group, None, or S4UNot are not supported under Task Scheduler 1.0.
See Also