ArcGIS Pro 2.7 API Reference Guide
RemovePortal Method

ArcGIS.Desktop.Core Namespace > ArcGISPortalManager Class : RemovePortal Method
The Uri of the portal to be removed
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
)
Public Function RemovePortal( _
   ByVal portalUri As Uri _
) As Boolean

Parameters

portalUri
The Uri of the portal to be removed

Return Value

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

ArcGISPortalManager Class
ArcGISPortalManager Members