System.Security.AccessControl.DirectoryObjectSecurity.AddAuditRule Method

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

Syntax

protected void AddAuditRule (ObjectAuditRule rule)

Parameters

rule
The audit rule to add.

Remarks

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

Requirements

Namespace: System.Security.AccessControl
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0