ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Core Namespace / UploadDefinition Class / UploadDefinition Constructor
The portal url. Equivalent to portal.PortalUri.ToString()
The item to be uploaded
A non-null array of tags
Version

UploadDefinition Constructor
Default constructor. Provide the url of the portal, the item to be uploaded and an array of tags.
Syntax
public UploadDefinition( 
   string portalURL,
   Item itemToUpload,
   string[] tags
)

Parameters

portalURL
The portal url. Equivalent to portal.PortalUri.ToString()
itemToUpload
The item to be uploaded
tags
A non-null array of tags
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also