Name of the portal. Can be set at creation time, Admin can change the name in the portal settings

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

Syntax

C#
[XmlElementAttribute("portalname")]
public string PortalName { get; set; }
Visual Basic
<XmlElementAttribute("portalname")> 
Public Property PortalName As String
	Get
	Set

Field Value

Name of the portal

Return Value

Name of the portal

Remarks

Examples

This show the usage of the PortalName property
 Copy imageCopy Code
Dim objPortalController As New PortalController
Dim objPortal As PortalInfo = objPortalController.GetPortal(PortalID)
     txtPortalName.Text = objPortal.PortalName
     txtDescription.Text = objPortal.Description
     txtKeyWords.Text = objPortal.KeyWords

See Also