ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Workflow.Models Namespace / JobsManager Class / ExecuteQuery Method / ExecuteQuery(Int32) Method
The ID of the query to execute
Version

ExecuteQuery(Int32) Method
Executes a query by ID and return the QueryResult. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public QueryResult ExecuteQuery( 
   int queryID
)

Parameters

queryID
The ID of the query to execute

Return Value

A QueryResult that defines the query results
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also