PipeSecurity.RemoveAuditRule Method (PipeAuditRule)
Removes an audit rule from the System Access Control List (SACL) that is associated with the current PipeSecurity object.
Assembly: System.Core (in System.Core.dll)
The RemoveAuditRule method removes either all matching Deny audit rules or all matching Allow audit rules from the current PipeSecurity object. For example, you can use this method to remove all Deny audit rules for a user by passing a FileSystemAuditRule object created using the Deny value, the Failure value, and a user account. When you do this, the RemoveAuditRule method removes any deny rules that specify the Failure value or the Success value.