我正在尝试以编程方式设置文件夹审核选项下的“适用于”字段。在MSDN中,thecodeexamplethereusestheFileSystemAuditRuleclass将新审核规则添加到文件夹。此类中没有明显的内容来设置需要应用特定审核规则的对象。这是我用来设置一些权限的代码:conststringmyFolder=@"S:\Temp\SomeFolderToAudit";varaccount=newSecurityIdentifier(WellKnownSidType.WorldSid,null).Translate(typeof(NTAccount));FileSecurity