| MVPSI.JAMS Namespace > VariableSecurity Class : SetAccessRuleProtection Method |
'DeclarationPublic Sub SetAccessRuleProtection( _ ByVal isProtected As System.Boolean, _ ByVal preserveInheritance As System.Boolean _ )
'UsageDim instance As VariableSecurity Dim isProtected As System.Boolean Dim preserveInheritance As System.Boolean instance.SetAccessRuleProtection(isProtected, preserveInheritance)
public void SetAccessRuleProtection( System.bool isProtected, System.bool preserveInheritance )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2