PipeSecurity.RemoveAuditRuleAll(PipeAuditRule) 方法

定义

将与指定的审核规则具有相同安全标识符的所有审核规则从与当前 PipeSecurity 对象关联的系统访问控制列表 (SACL) 中移除。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)

参数

rule
PipeAuditRule

要移除的审核规则。The audit rule to remove.

例外

rule 参数为 nullThe rule parameter is null.

注解

RemoveAuditRuleAll 方法将删除指定用户的所有审核规则。The RemoveAuditRuleAll method removes all audit rules for the specified user. 它将忽略 PipeAuditRule 对象中除用户帐户之外的所有值。It ignores all values in the PipeAuditRule object except the user account.

适用于