Click or drag to resize
Task Scheduler Managed Class Library

TaskSecurityRemoveAuditRuleAll Method

Searches for all audit rules with the same user 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 RemoveAuditRuleAll(
	TaskAuditRule rule
)
Request Example View Source

Parameters

rule  TaskAuditRule
A TaskAuditRule that specifies the user to search for. Any rights specified by this rule are ignored.
See Also