ArcGIS Pro 2.6 API Reference Guide
IsPortal Property

ArcGIS.Desktop.Core.Portal Namespace > PortalInfo Class : IsPortal Property
Gets a value indicating whether the portal is on premises.
Syntax
public bool IsPortal {get;}
Public ReadOnly Property IsPortal As Boolean
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

PortalInfo Class
PortalInfo Members