Share via


CommonSecurityDescriptor.SetSystemAclProtection(Boolean, Boolean) 메서드

정의

CommonSecurityDescriptor 개체와 관련된 SACL(시스템 액세스 제어 목록)에 대해 상속 보호를 설정합니다. 보호된 SACL은 부모 컨테이너에서 감사 규칙을 상속하지 않습니다.

public:
 void SetSystemAclProtection(bool isProtected, bool preserveInheritance);
public void SetSystemAclProtection (bool isProtected, bool preserveInheritance);
member this.SetSystemAclProtection : bool * bool -> unit
Public Sub SetSystemAclProtection (isProtected As Boolean, preserveInheritance As Boolean)

매개 변수

isProtected
Boolean

상속으로부터 SACL을 보호하려면 true입니다.

preserveInheritance
Boolean

SACL에 상속된 감사 규칙을 유지하려면 true이고, SACL에서 상속된 감사 규칙을 제거하려면 false입니다.

적용 대상