TaskSecurity(Task, AccessControlSections) Constructor
Initializes a new instance of the
TaskSecurity class with the specified sections of the access control security rules from the specified task.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public TaskSecurity(
Task task,
AccessControlSections sections = AccessControlSections.Access|AccessControlSections.Owner|AccessControlSections.Group
)
Parameters
- task Task
- The task.
- sections AccessControlSections (Optional)
- The sections of the ACL to retrieve.