This document is archived and information here might be outdated.  Recommended version.


IQueryTableDataSourceDescription.Query Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IQueryTableDataSourceDescription.Query Property

Query statement.

[Visual Basic .NET]
Public Property Query As String
[C#]
public string Query {get; set;}
[C++]
HRESULT get_Query(
  System.String* pQuery
);
[C++]
HRESULT put_Query(
  BSTR pQuery
);
[C++]

Parameters pQuery [out, retval]
pQuery is a parameter of type BSTR* pQuery [in]
pQuery is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Any SQL Statement valid as SubQuery and conformed to the underlying RDBMS.

Remarks

FileGeodatabase or any file based datasource is not supported.

See Also

IQueryTableDataSourceDescription Interface