ObjectSecurity.ModifyAudit 方法

定义

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

protected:
 abstract bool ModifyAudit(System::Security::AccessControl::AccessControlModification modification, System::Security::AccessControl::AuditRule ^ rule, [Runtime::InteropServices::Out] bool % modified);
protected abstract bool ModifyAudit (System.Security.AccessControl.AccessControlModification modification, System.Security.AccessControl.AuditRule rule, out bool modified);
abstract member ModifyAudit : System.Security.AccessControl.AccessControlModification * System.Security.AccessControl.AuditRule * bool -> bool
Protected MustOverride 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

适用于