CommonSecurityDescriptor.SetSystemAclProtection(Boolean, Boolean) Método

Definição

Define a proteção de herança para o SACL (System Controle de Acesso List) associado a esse 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 o SACL da herança.

preserveInheritance
Boolean

true para manter as regras de auditoria herdadas no SACL; false para remover as regras de auditoria herdadas do SACL.

Aplica-se a