JAMS Developer Guide
SetAuditRuleProtection Method (FolderSecurity)


MVPSI.JAMS Namespace > FolderSecurity Class : SetAuditRuleProtection Method
Syntax
'Declaration
 
Public Sub SetAuditRuleProtection( _
   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.SetAuditRuleProtection(isProtected, preserveInheritance)
public void SetAuditRuleProtection( 
   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