ArcGIS Pro 2.6 API Reference Guide
AddAttachment Method (Job)

ArcGIS.Desktop.Workflow.Models.JobModels Namespace > Job Class : AddAttachment Method
The path or URL of the attachment to add
The type of the attachment to add
Add a new attachment to the job
Syntax
public JobAttachment AddAttachment( 
   string URI,
   JobAttachmentType type
)
Public Function AddAttachment( _
   ByVal URI As String, _
   ByVal type As JobAttachmentType _
) As JobAttachment

Parameters

URI
The path or URL of the attachment to add
type
The type of the attachment to add

Return Value

Thew new JobAttachment
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

Job Class
Job Members