Name | Description | |
---|---|---|
![]() ![]() | Current | Gets the singleton ArcGISPortalManager instance |
The following tables list the members exposed by ArcGISPortalManager.
Name | Description | |
---|---|---|
![]() | AddPortal | Add 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. |
![]() | EditPortal | Change 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. |
![]() | GetActivePortal | 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. |
![]() | GetPortal | Get the Portal from the list of portals based on the provided portalURI |
![]() | GetPortals | Get the enumeration of portals. This list correlates with the list of portals on the "Portals" tab on the Pro backstage. |
![]() | RemovePortal | Remove 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. |
![]() | SetActivePortal | Sets 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. |