CommonObjectSecurity.ModifyAudit(AccessControlModification, AuditRule, Boolean) 方法

定义

将指定的修改应用到与此 CommonObjectSecurity 对象关联的系统访问控制列表 (SACL) 中。Applies the specified modification to the System Access Control List (SACL) associated with this CommonObjectSecurity object.

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 的修改。The modification to apply to the SACL.

rule
AuditRule

要修改的审核规则。The audit rule to modify.

modified
Boolean

如果已成功修改 SACL,则为 true;否则为 falsetrue if the SACL is successfully modified; otherwise, false.

返回

如果成功修改了 SACL,则为 true;否则为 falsetrue if the SACL is successfully modified; otherwise, false.

适用于