ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Workflow.Models Namespace / JobsManager Class / ExecuteQueryXML Method / ExecuteQueryXML(String) Method
The name of the query to execute

ExecuteQueryXML(String) Method
Executes a query by name and return the XML results. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public string ExecuteQueryXML( 
   string queryName
)

Parameters

queryName
The name of the query to execute

Return Value

A string containing the XML results
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also