共用方式為


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

適用於