DirectoryObjectSecurity.RemoveAuditRule(ObjectAuditRule) 메서드

정의

CommonObjectSecurity 개체와 연결된 SACL(시스템 액세스 제어 목록)에서 지정된 감사 규칙과 동일한 보안 식별자 및 액세스 마스크를 포함하는 감사 규칙을 제거합니다.

protected:
 bool RemoveAuditRule(System::Security::AccessControl::ObjectAuditRule ^ rule);
protected bool RemoveAuditRule(System.Security.AccessControl.ObjectAuditRule rule);
member this.RemoveAuditRule : System.Security.AccessControl.ObjectAuditRule -> bool
Protected Function RemoveAuditRule (rule As ObjectAuditRule) As Boolean

매개 변수

rule
ObjectAuditRule

제거할 감사 규칙입니다.

반품

true감사 규칙이 성공적으로 제거되었으면 이고, 그렇지 않으면 . false

설명

감사 제거는 감사 제어 규칙을 제거하는 것 외에도 추가할 수 있는 복잡한 알고리즘을 사용하여 수행됩니다.

이 메서드는 감사 규칙을 제거하지 못하고 감사 규칙과 연결된 상속 규칙이 너무 복잡하여 제거 알고리즘이 성공하지 못하는 경우 반환 false 합니다.

적용 대상