Gets the portal domain name.
Namespace: DotNetNuke.CommonAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static string GetPortalDomainName( string strPortalAlias, HttpRequest Request, bool blnAddHTTP ) |
Visual Basic |
---|
Public Shared Function GetPortalDomainName ( strPortalAlias As String, Request As HttpRequest, blnAddHTTP As Boolean ) As String |
Parameters
- strPortalAlias
- Type: System..::..String
The portal alias.
- Request
- Type: System.Web..::..HttpRequest
The request or null.
- blnAddHTTP
- Type: System..::..Boolean
if set to true calls AddHTTP(String) on the result.