CommonObjectSecurity.AddAuditRule(AuditRule) CommonObjectSecurity.AddAuditRule(AuditRule) CommonObjectSecurity.AddAuditRule(AuditRule) CommonObjectSecurity.AddAuditRule(AuditRule) Method

Definition

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

protected:
 void AddAuditRule(System::Security::AccessControl::AuditRule ^ rule);
protected void AddAuditRule (System.Security.AccessControl.AuditRule rule);
member this.AddAuditRule : System.Security.AccessControl.AuditRule -> unit
Protected Sub AddAuditRule (rule As AuditRule)

Parameters

rule
AuditRule AuditRule AuditRule AuditRule

The audit rule to add.

Remarks

Adding an audit rule might cause existing access rules in the SACL to be merged.

Applies to