Gets the sorted list of folders of the provided portal.

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

Syntax

C#
public virtual IEnumerable<IFolderInfo> GetFolders(
	int portalId,
	bool useCache
)
Visual Basic
Public Overridable 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.

Implements

IFolderManager..::..GetFolders(Int32, Boolean)

See Also