ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / ArcGISPortalManager Class / RemovePortal Method
The Uri of the portal to be removed
Version

RemovePortal Method
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.
Syntax
public bool RemovePortal( 
   Uri portalUri
)

Parameters

portalUri
The Uri of the portal to be removed

Return Value

Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also