共用方式為


DirectoryObjectSecurity.ModifyAudit 方法

定義

將指定的修改套用至與這個 DirectoryObjectSecurity 物件關聯的系統存取控制清單 (SACL)。

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 的修改。

rule
AuditRule

要修改的稽核規則。

modified
Boolean

如果成功修改 SACL,則為 true;否則為 false

傳回

如果成功修改 SACL,則為 true;否則為 false

適用於