Parameters
- existingPortalObj
- The existing portal whose Uri will be changed
- newPortalUri
- The URI to use to replace the existing Uri of the existingPortalObj
Return Value
A ArcGISPortal with the changed Uri
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | Thrown when a method is called on the wrong Pro thread |
System.ArgumentException | The portal Uri was invalid or there was an error changing the portal Uri |
Target Platforms: Windows 11, Windows 10