ArcGIS Pro 2.6 API Reference Guide
PortalHostName Property

ArcGIS.Desktop.Core.Portal Namespace > PortalInfo Class : PortalHostName Property
Gets the portal host's URL.
Syntax
public string PortalHostName {get;}
Public ReadOnly Property PortalHostName As String
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

PortalInfo Class
PortalInfo Members