ArcGIS Pro 2.9 API Reference Guide
IsActivePortal Method

ArcGIS.Desktop.Core Namespace > ArcGISPortal Class : IsActivePortal Method
Gets whether this portal instance is the active portal
Syntax
public bool IsActivePortal()
Public Function IsActivePortal() As Boolean

Return Value

Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

ArcGISPortal Class
ArcGISPortal Members