ArcGIS Pro 3.3 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

In This Topic
    UploadDefinition Constructor
    In This Topic
    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
    )
    Public Function New( _
       ByVal portalURL As String, _
       ByVal itemToUpload As Item, _
       ByVal tags() As String _
    )

    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