ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / Project Class / IsPortalProject Property
Version

IsPortalProject Property
If true, this project is a portal project.
Syntax
public bool IsPortalProject {get;}
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.3 or higher.
See Also