TaskSecurityRemoveAuditRuleAll Method
Searches for all audit rules with the same user as the specified rule and, if found, removes them.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public void RemoveAuditRuleAll(
TaskAuditRule rule
)
Parameters
- rule TaskAuditRule
- A TaskAuditRule that specifies the user to search for. Any rights specified by this rule are ignored.