ArcGIS Pro 2.9 API Reference Guide
CreateBatchJobProjectItem Method

ArcGIS.Desktop.DataReviewer Namespace > DataReviewerModule Class : CreateBatchJobProjectItem Method
A file path to a batch job
Creates a project item representing a Data Reviewer batch job. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public static IProjectItem CreateBatchJobProjectItem( 
   string itemPath
)
Public Shared Function CreateBatchJobProjectItem( _
   ByVal itemPath As String _
) As IProjectItem

Parameters

itemPath
A file path to a batch job

Return Value

A new project item
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
The file specified was not found or there is not sufficient permissions to access the file.
The batch job specified is not a valid Data Reviewer batch job.
itemPath cannot be null or empty.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

DataReviewerModule Class
DataReviewerModule Members