共用方式為


ActiveDirectorySecurity.RemoveAuditRule(ActiveDirectoryAuditRule) 方法

定義

從物件的系統存取控制清單 (System Access Control List,SACL),移除包含與指定之稽核規則相同之安全識別項和存取遮罩的所有稽核規則。

public:
 bool RemoveAuditRule(System::DirectoryServices::ActiveDirectoryAuditRule ^ rule);
public bool RemoveAuditRule (System.DirectoryServices.ActiveDirectoryAuditRule rule);
override this.RemoveAuditRule : System.DirectoryServices.ActiveDirectoryAuditRule -> bool
Public Function RemoveAuditRule (rule As ActiveDirectoryAuditRule) As Boolean

參數

rule
ActiveDirectoryAuditRule

這個作業所套用到的 ActiveDirectoryAccessRule

傳回

如果作業成功,則為 true,否則為 false

適用於