Redigera

Dela via


ObjectSecurity<T>.AddAuditRule(AuditRule<T>) Method

Definition

Adds the specified audit rule to the System Access Control List (SACL) associated with this ObjectSecurity`1 object.

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))

Parameters

rule
AuditRule<T>

The audit rule to add.

Applies to