TaskPrincipalProcessTokenSidType Property

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

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.0
[XmlIgnoreAttribute]
[DefaultValueAttribute(typeof(TaskProcessTokenSidType), "Default")]
public TaskProcessTokenSidType ProcessTokenSidType { get; set; }

Property Value

TaskProcessTokenSidType
One of the TaskProcessTokenSidType enumeration constants.

Remarks

Setting this value appears to break the Task Scheduler MMC and does not output in XML. Removed to prevent problems.

Exceptions

NotSupportedPriorToExceptionNot supported under Task Scheduler versions prior to 2.1.

See Also