- rule
- A System.Security.AccessControl.FileSystemAuditRule object that represents an audit rule to add to a file or directory.
The FileSystemSecurity.AddAuditRule(FileSystemAuditRule) method adds a new audit rule to the list of rules contained within a System.Security.AccessControl.FileSystemSecurity object.
If an audit rule already exists for the specified rule, the FileSystemSecurity.AddAuditRule(FileSystemAuditRule) method will still add the rule.