共用方式為


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>

要加入的稽核規則。

適用於