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

In This Topic
    ExecuteQuery(Int32) Method
    In This Topic
    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
    )
    Public Overloads Function ExecuteQuery( _
       ByVal queryID As Integer _
    ) As QueryResult

    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.0 or higher.
    See Also