ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Core Namespace / UploadDefinition Class / CreateFolderIfNotPresent Property

CreateFolderIfNotPresent Property
Gets or sets a value that indicates if the folder should be created while uploading files
Syntax
public bool CreateFolderIfNotPresent {get; set;}
Remarks
Applies to FolderName only. If a FolderID is specified or no FolderID or FolderName is provided then this parameter is ignored. The default value is true
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.1 or higher.
See Also