TaskSecurityAddAccessRule Method

Searches for a matching rule with which the new rule can be merged. If none are found, adds the new rule.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public void AddAccessRule(
	TaskAccessRule rule
)

Parameters

rule  TaskAccessRule
The access control rule to add.

See Also