PipeSecurity.RemoveAuditRuleAll(PipeAuditRule) Method

Definition

Removes all audit rules that have the same security identifier as the specified audit rule from the System Access Control List (SACL) that is associated with the current PipeSecurity object.

public:
 void RemoveAuditRuleAll(System::IO::Pipes::PipeAuditRule ^ rule);
public void RemoveAuditRuleAll (System.IO.Pipes.PipeAuditRule rule);
override this.RemoveAuditRuleAll : System.IO.Pipes.PipeAuditRule -> unit
Public Sub RemoveAuditRuleAll (rule As PipeAuditRule)

Parameters

rule
PipeAuditRule

The audit rule to remove.

Exceptions

The rule parameter is null.

Remarks

The RemoveAuditRuleAll method removes all audit rules for the specified user. It ignores all values in the PipeAuditRule object except the user account.

Applies to