ArcGIS Pro 2.7 API Reference Guide
IsQueryLayer Property

ArcGIS.Core.Data Namespace > QueryDescription Class : IsQueryLayer Property
Indicates whether this instance of QueryDescription represents a query layer or a single table. If true, it is a query layer . Otherwise, it is a single table.
Syntax
public bool IsQueryLayer {get;}
Public ReadOnly Property IsQueryLayer As Boolean
Remarks
A query layer is an abstraction that is created from one or more database tables and whose construction is specified by an input SQL SELECT statement to the method GetQueryDescription(String,String). A single table, on the other hand, corresponds directly to a standalone table in the database and is constructed by the method GetQueryDescription(String). While these two flavors of QueryDescription objects are more or less similar, there are some key differences in their internal implementations. For example, a Table or FeatureClass representing a query layer is identified by the UniqueQueryLayerName rather than the TableName.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

QueryDescription Class
QueryDescription Members