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

Definition

Fügt der SACL (System Access Control List), die diesem ObjectSecurity`1-Objekt zugeordnet ist, die angegebene Überwachungsregel hinzu.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))

Parameter

rule
AuditRule<T>

Die hinzuzufügende Überwachungsregel.The audit rule to add.

Gilt für: