.NET Framework 4.5
Sets the specified audit rule for the current file or directory.
This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.
|SetAuditRule(AuditRule)||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 CommonObjectSecurity object and then adds the specified audit rule. (Inherited from CommonObjectSecurity.)|
|SetAuditRule(FileSystemAuditRule)||Sets the specified audit rule for the current file or directory.|