Validates the alias.

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

Syntax

C#
public static bool ValidateAlias(
	string portalAlias,
	bool ischild
)
Visual Basic
Public Shared Function ValidateAlias ( 
	portalAlias As String,
	ischild As Boolean
) As Boolean

Parameters

portalAlias
Type: System..::..String
The portal alias.
ischild
Type: System..::..Boolean
if set to true [ischild].

Return Value

true if the alias is a valid url format; otherwise return false.

See Also