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

In This Topic
    RemovePortal Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also