CommonSecurityDescriptor.SetSystemAclProtection(Boolean, Boolean) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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.