SPList.ServerTemplateCanCreateFolders Property

Gets a Boolean value that specifies whether server template folder creation is enabled for the list.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableAttribute> _
Public ReadOnly Property ServerTemplateCanCreateFolders As Boolean
    Get
'Usage
Dim instance As SPList
Dim value As Boolean

value = instance.ServerTemplateCanCreateFolders
[ClientCallableAttribute]
public bool ServerTemplateCanCreateFolders { get; }

Property Value

Type: System.Boolean
true if folder creation is enabled; otherwise, false.

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace