ObjectSecurity.ModifyAuditRule 方法

定义

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

public:
 virtual bool ModifyAuditRule(System::Security::AccessControl::AccessControlModification modification, System::Security::AccessControl::AuditRule ^ rule, [Runtime::InteropServices::Out] bool % modified);
public virtual bool ModifyAuditRule (System.Security.AccessControl.AccessControlModification modification, System.Security.AccessControl.AuditRule rule, out bool modified);
abstract member ModifyAuditRule : System.Security.AccessControl.AccessControlModification * System.Security.AccessControl.AuditRule * bool -> bool
override this.ModifyAuditRule : System.Security.AccessControl.AccessControlModification * System.Security.AccessControl.AuditRule * bool -> bool
Public Overridable Function ModifyAuditRule (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

适用于