ArcGIS Pro 2.7 API Reference Guide
ArcGISPortalManager Class Members
Properties  Methods 


ArcGIS.Desktop.Core Namespace : ArcGISPortalManager Class

The following tables list the members exposed by ArcGISPortalManager.

Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic) Gets the singleton ArcGISPortalManager instance  
Top
Public Methods
 NameDescription
Public MethodAdd the specified portal represented by the provided portal Uri to the list of portals. This will result in the ArcGIS.Desktop.Core.Events.ArcGISPortalAddedEvent being published.  
Public Method Change the Uri of the existing portal to be the new Portal Uri.  
Public Method Get the currently active portal. This is the portal that has been set as the Active Portal either via the API or on the "Portals" backstage tab.  
Public Method Get the Portal from the list of portals based on the provided portalURI  
Public Method Get the enumeration of portals. This list correlates with the list of portals on the "Portals" tab on the Pro backstage.  
Public MethodRemove the portal represented by the provided portal Uri from the list of portals. This will result in the ArcGIS.Desktop.Core.Events.ArcGISPortalRemovedEvent being published.  
Public MethodSets the currently active portal. This will result in the ArcGIS.Desktop.Core.Events.ActivePortalChangedEvent being published.  
Top
See Also

Reference

ArcGISPortalManager Class
ArcGIS.Desktop.Core Namespace