Removes the specified access rule from the Discretionary Access Control List (DACL) that is associated with the current System.IO.Pipes.PipeSecurity object.
The PipeSecurity.RemoveAccessRule(PipeAccessRule) method removes either all matching System.Security.AccessControl.AccessControlType.Deny access rules or all matching System.Security.AccessControl.AccessControlType.Allow access rules from the current System.IO.Pipes.PipeSecurity object. For example, you can use this method to remove all System.Security.AccessControl.AccessControlType.Deny access rules for a user by passing a System.IO.Pipes.PipeAccessRule object created using the System.Security.AccessControl.AccessControlType.Deny value, the PipeAccessRights.Read value, and a user account. The PipeSecurity.RemoveAccessRule(PipeAccessRule) method removes any deny rules that specify the PipeAccessRights.Read value or the PipeAccessRights.Write value.