ArcGIS Pro 2.6 API Reference Guide
GetPortals Method

ArcGIS.Desktop.Core Namespace > ArcGISPortalManager Class : GetPortals Method
Get the enumeration of portals. This list correlates with the list of portals on the "Portals" tab on the Pro backstage.
Syntax
public IEnumerable<ArcGISPortal> GetPortals()
Public Function GetPortals() As IEnumerable(Of ArcGISPortal)

Return Value

An IEnumerable of ArcGISPortal
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

ArcGISPortalManager Class
ArcGISPortalManager Members