JAMS Developer Guide
SetAccessRuleProtection Method (FolderSecurity)


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

FolderSecurity Class
FolderSecurity Members