ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Core Namespace / ArcGISPortalManager Class
Properties Methods


In This Topic
    ArcGISPortalManager Class Members
    In This Topic

    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. This method should be called from within a QueuedTask or System.Threading.Task unless the caller is within ArcGIS.Desktop.Framework.Contracts.ConfigurationManager.OnApplicationInitializing in which case the main thread should be used.
     
    Public MethodChange the Uri of the existing portal to be the new Portal Uri. This method should be called from within a QueuedTask or System.Threading.Task unless the caller is within ArcGIS.Desktop.Framework.Contracts.ConfigurationManager.OnApplicationInitializing in which case the main thread should be used.
     
    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. This method should be called from within a QueuedTask or System.Threading.Task unless the caller is within ArcGIS.Desktop.Framework.Contracts.ConfigurationManager.OnApplicationInitializing in which case the main thread should be used.
     
    Top
    See Also