ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Desktop.Core Namespace / Project Class / IsPortalProject Property
Example

In This Topic
    IsPortalProject Property
    In This Topic
    If true, this project is a portal project.
    Syntax
    public bool IsPortalProject {get;}
    Public ReadOnly Property IsPortalProject As Boolean
    Example
    Determine if the project is a portal project from a project object
    var isPortalProject2 = Project.Current.IsPortalProject;
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.3 or higher.
    See Also