ItemByName method: Portal collection

Syntax

ItemByName(PortalName)

Description

The ItemByName method returns the Portal object with the name PortalName.

Parameters

Parameter Description

PortalName

Specify the name of an existing portal within the collection. If you specify an invalid name, the object returns NULL.

Returns

A Portal object if successful, NULL otherwise.

Example

&MyPortal = &MyPortal.Portals.ItemByName("HRMS");