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

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

Parameters

queryID
The ID of the query to execute

Return Value

A string containing the XML results
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also