Gets the sorted list of folders of the provided portal.

Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
IEnumerable<IFolderInfo> GetFolders(
	int portalId,
	bool useCache
)
Visual Basic
Function GetFolders ( 
	portalId As Integer,
	useCache As Boolean
) As IEnumerable(Of IFolderInfo)

Parameters

portalId
Type: System..::..Int32
The portal identifier.
useCache
Type: System..::..Boolean
True = Read from Cache, False = Read from DB

Return Value

The sorted list of folders of the provided portal.

See Also