This documentation is archived and is not being maintained.

FileSystemSecurity.SetAuditRule Method

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.

  NameDescription
Protected method 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.)
Public method SetAuditRule(FileSystemAuditRule) Sets the specified audit rule for the current file or directory.
Top
Show: