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


IRelQueryTableInfo.QueryDef Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRelQueryTableInfo Interface > IRelQueryTableInfo.QueryDef Property
ArcGIS Developer Help

IRelQueryTableInfo.QueryDef Property

QueryDef used to create the join. This property will be null if the join is done on the client.

[Visual Basic .NET]
Public ReadOnly Property QueryDef As IQueryDef
[C#]
public IQueryDef QueryDef {get;}
[C++]
HRESULT get_QueryDef(
  IQueryDef** QueryDef
);
[C++]
Parameters
QueryDef [out, retval]

QueryDef is a parameter of type IQueryDef**

Product Availability

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

Remarks

The QueryDef property returns the query that is used to retrieve the joined data when processing is done on the server. If the join is processed on the client as apposed to a server, the QueryDef property returns a null value.

If all tables involved are stored on the same ArcSDE, Personal or File Geodatabase, the processing can be performed by the server, which is normally faster. The JoinType must also be esriLeftInnerJoin in order for processing to occur on the server. In any other case, processing occurs on the client.

See Also

IRelQueryTableInfo Interface