SPList.RequestAccessEnabled property

Gets or sets a Boolean value that specifies whether the option to allow users to request access to the list is available.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Public Property RequestAccessEnabled As Boolean
Dim instance As SPList
Dim value As Boolean

value = instance.RequestAccessEnabled

instance.RequestAccessEnabled = value

Property value

Type: System.Boolean
true if the request access option is available; otherwise, false.