DirectoryObjectSecurity.ModifyAudit 方法

定义

将指定的修改应用到与此 DirectoryObjectSecurity 对象关联的系统访问控制列表 (SACL) 中。

protected:
 override bool ModifyAudit(System::Security::AccessControl::AccessControlModification modification, System::Security::AccessControl::AuditRule ^ rule, [Runtime::InteropServices::Out] bool % modified);
protected override bool ModifyAudit (System.Security.AccessControl.AccessControlModification modification, System.Security.AccessControl.AuditRule rule, out bool modified);
override this.ModifyAudit : System.Security.AccessControl.AccessControlModification * System.Security.AccessControl.AuditRule * bool -> bool
Protected Overrides Function ModifyAudit (modification As AccessControlModification, rule As AuditRule, ByRef modified As Boolean) As Boolean

参数

modification
AccessControlModification

要应用于 SACL 的修改。

rule
AuditRule

要修改的审核规则。

modified
Boolean

如果已成功修改 SACL,则为 true;否则为 false

返回

如果已成功修改 SACL,则为 true;否则为 false

适用于