JAMS Developer Guide
Persist(Boolean,String,AccessControlSections) Method


MVPSI.JAMS Namespace > FolderSecurity Class > Persist Method : Persist(Boolean,String,AccessControlSections) Method
Syntax
'Declaration
 
<System.Security.SecuritySafeCriticalAttribute()>
<System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptionsAttribute()>
Protected Overloads Sub Persist( _
   ByVal enableOwnershipPrivilege As System.Boolean, _
   ByVal name As System.String, _
   ByVal includeSections As System.Security.AccessControl.AccessControlSections _
) 
'Usage
 
Dim instance As FolderSecurity
Dim enableOwnershipPrivilege As System.Boolean
Dim name As System.String
Dim includeSections As System.Security.AccessControl.AccessControlSections
 
instance.Persist(enableOwnershipPrivilege, name, includeSections)
[System.Security.SecuritySafeCritical()]
[System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptions()]
protected void Persist( 
   System.bool enableOwnershipPrivilege,
   System.string name,
   System.Security.AccessControl.AccessControlSections includeSections
)

Parameters

enableOwnershipPrivilege
name
includeSections
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
Overload List