ObjectSecurity<T>.AddAuditRule(AuditRule<T>) 方法

定义

将指定的审核规则添加到与此 ObjectSecurity`1 对象关联的系统访问控制列表 (SACL)。

public:
 virtual void AddAuditRule(System::Security::AccessControl::AuditRule<T> ^ rule);
public virtual void AddAuditRule (System.Security.AccessControl.AuditRule<T> rule);
override this.AddAuditRule : System.Security.AccessControl.AuditRule<'T (requires 'T : struct)> -> unit
Public Overridable Sub AddAuditRule (rule As AuditRule(Of T))

参数

rule
AuditRule<T>

要添加的审核规则。

适用于