CommonSecurityDescriptor.SetSystemAclProtection(Boolean, Boolean) Método

Definição

Define a proteção de herança para a SACL (Lista de Controle de Acesso do Sistema) associada a este objeto CommonSecurityDescriptor. As SACLs protegidas não herdam regras de auditoria de contêineres pai.

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)

Parâmetros

isProtected
Boolean

true para proteger a SACL da herança.

preserveInheritance
Boolean

true para manter as regras de auditoria herdadas na SACL, false para remover as regras de auditoria herdadas da SACL.

Aplica-se a