Click or drag to resize
Task Scheduler Managed Class Library

TaskPrincipalProcessTokenSidType Property

Gets or sets the task process security identifier (SID) type.

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

Property Value

TaskProcessTokenSidType
One of the TaskProcessTokenSidType enumeration constants.
Exceptions
ExceptionCondition
NotSupportedPriorToExceptionNot supported under Task Scheduler versions prior to 2.1.
Remarks
Setting this value appears to break the Task Scheduler MMC and does not output in XML. Removed to prevent problems.
See Also