TaskAuditRuleTaskRights Property
Gets the access rights affected by the audit rule.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public TaskRights TaskRights { get; }
Property Value
TaskRights
A bitwise combination of
TaskRights values that indicates the rights affected by the audit rule.
TaskAuditRule objects are immutable. You can create a new audit rule representing a different user, different rights, or a different combination of AuditFlags values, but you cannot modify an existing audit rule.