Gets the portal alias by portal.

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

Syntax

C#
public static string GetPortalAliasByPortal(
	int portalId,
	string portalAlias
)
Visual Basic
Public Shared Function GetPortalAliasByPortal ( 
	portalId As Integer,
	portalAlias As String
) As String

Parameters

portalId
Type: System..::..Int32
The portal id.
portalAlias
Type: System..::..String
The portal alias.

Return Value

Portal alias.

See Also