ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Data Namespace / QueryDescription Class / QueryLayerName Property

    QueryLayerName Property
    Gets the user-specified name of the query layer being represented by this instance of QueryDescription.
    Syntax
    public string QueryLayerName {get;}
    Remarks
    This property is meaningful only if IsQueryLayer returns true. If it returns false, this property will return System.String.Empty.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    ArcGIS Pro version: 2.0 or higher.
    See Also