CommonSecurityDescriptor.SetSystemAclProtection(Boolean, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the inheritance protection for the System Access Control List (SACL) associated with this CommonSecurityDescriptor object. SACLs that are protected do not inherit audit rules from parent containers.
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)
Parameters
- isProtected
- Boolean
true
to protect the SACL from inheritance.
- preserveInheritance
- Boolean
true
to keep inherited audit rules in the SACL; false
to remove inherited audit rules from the SACL.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.