ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / UploadDefinition Class / FolderName Property
Version

    FolderName Property (UploadDefinition)
    Gets and sets the folder name of the portal folder into which the item will be uploaded
    Syntax
    public string FolderName {get; set;}
    Remarks
    You can either pass FolderID or FolderName but not both. Passing both the properties will result in an exception being thrown on the upload
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also