ActiveDirectorySecurity.ModifyAuditRule 方法

定义

将指定修改应用到指定的 AuditRule

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

参数

modification
AccessControlModification

要应用的修改。

rule
AuditRule

要修改的审核规则。

modified
Boolean

如果实际已修改,则为 true;否则为 false

返回

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

适用于