 | 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.10.1
Syntaxpublic TaskLogonType LogonType { get; set; }
Public Property LogonType As TaskLogonType
Get
Set
public:
property TaskLogonType LogonType {
TaskLogonType get ();
void set (TaskLogonType value);
}
Request Example
View SourceProperty Value
Type:
TaskLogonType
ExceptionsException | Condition |
---|
NotV1SupportedException |
TaskLogonType values of Group, None, or S4UNot are not supported under Task Scheduler 1.0.
|
See Also