ObjectSecurity.PurgeAuditRules(IdentityReference) 方法

定义

删除与指定 IdentityReference 关联的所有审核规则。

public:
 virtual void PurgeAuditRules(System::Security::Principal::IdentityReference ^ identity);
public virtual void PurgeAuditRules (System.Security.Principal.IdentityReference identity);
abstract member PurgeAuditRules : System.Security.Principal.IdentityReference -> unit
override this.PurgeAuditRules : System.Security.Principal.IdentityReference -> unit
Public Overridable Sub PurgeAuditRules (identity As IdentityReference)

参数

identity
IdentityReference

要删除其所有审核规则的 IdentityReference

例外

所有审核规则的顺序都不规范。

适用于