Determines whether the portal is child portal.

Namespace: DotNetNuke.Entities.Portals
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public static bool IsChildPortal(
	PortalInfo portal,
	string serverPath
)
Visual Basic
Public Shared Function IsChildPortal ( 
	portal As PortalInfo,
	serverPath As String
) As Boolean

Parameters

portal
Type: DotNetNuke.Entities.Portals..::..PortalInfo
The portal.
serverPath
Type: System..::..String
The server path.

Return Value

true if the portal is child portal; otherwise, false.

See Also