JAMS Developer Guide
SetAccessRuleProtection Method (VariableSecurity)


MVPSI.JAMS Namespace > VariableSecurity Class : SetAccessRuleProtection Method
Syntax
'Declaration
 
Public Sub SetAccessRuleProtection( _
   ByVal isProtected As System.Boolean, _
   ByVal preserveInheritance As System.Boolean _
) 
'Usage
 
Dim 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
)

Parameters

isProtected
preserveInheritance
Requirements

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

See Also

Reference

VariableSecurity Class
VariableSecurity Members