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.10.1
Syntax
public void RemoveAuditRuleAll(
	TaskAuditRule rule
)
Request Example View Source

Parameters

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