DirectoryObjectSecurity::SetAuditRule Method (ObjectAuditRule^)
.NET Framework (current version)
Removes all audit rules that contain the same security identifier and qualifier as the specified audit rule in the System Access Control List (SACL) associated with this DirectoryObjectSecurity object and then adds the specified audit rule.
Assembly: mscorlib (in mscorlib.dll)
Parameters
- rule
-
Type:
System.Security.AccessControl::ObjectAuditRule^
The audit rule to set.
.NET Framework
Available since 2.0
Available since 2.0
Show: