ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Desktop.Core Namespace / Project Class / CreateAsync Method / CreateAsync(CreatePortalProjectSettings) Method
The settings used to create and share the portal project. This value must not be null.

In This Topic
    CreateAsync(CreatePortalProjectSettings) Method
    In This Topic
    Creates a new portal project using the specified portal project settings.
    Syntax

    Parameters

    createPortalProjectSettings
    The settings used to create and share the portal project. This value must not be null.

    Return Value

    A task that resolves to the newly created Project.
    Exceptions
    ExceptionDescription
    Thrown when required default paths are not available (for example, default geodatabase, toolbox, or home folder paths).
    Thrown when createPortalProjectSettings is null.
    Thrown when portal project creation fails.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.6 or higher.
    See Also