Click or drag to resize
Task Scheduler Managed Class Library

TaskSecurityRemoveAccessRuleAll Method

Searches for all access control rules with the same user and AccessControlType (allow or deny) as the specified rule and, if found, removes them.

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
public void RemoveAccessRuleAll(
	TaskAccessRule rule
)
Request Example View Source

Parameters

rule  TaskAccessRule
A TaskAccessRule that specifies the user and AccessControlType to search for, and a set of inheritance and propagation flags that a matching rule, if found, must be compatible with. Any rights specified by this rule are ignored.
See Also