Checks the existence of the specified folder in the specified portal.

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

Syntax

C#
bool FolderExists(
	int portalId,
	string folderPath
)
Visual Basic
Function FolderExists ( 
	portalId As Integer,
	folderPath As String
) As Boolean

Parameters

portalId
Type: System..::..Int32
The portal where to check the existence of the folder.
folderPath
Type: System..::..String
The path of folder to check the existence of.

Return Value

A boolean value indicating whether the folder exists or not in the specified portal.

See Also