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


IRecordSetInit.SetSourceQueryDef Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRecordSetInit Interface > IRecordSetInit.SetSourceQueryDef Method
ArcGIS Developer Help

IRecordSetInit.SetSourceQueryDef Method

Sets the source QueryDef for a Recordset.

[Visual Basic .NET]
Public Sub SetSourceQueryDef ( _
    ByVal QueryDef As IQueryDef _
)
[C#]
public void SetSourceQueryDef (
    IQueryDef QueryDef
);
[C++]
HRESULT SetSourceQueryDef(
  IQueryDef* QueryDef
);
[C++]
Parameters
QueryDef [in]

QueryDef is a parameter of type IQueryDef*

Product Availability

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

Remarks

When using a recordset class, the SetSourceQueryDef property is used to sets the source QueryDef for a Recordset.

See Also

IRecordSetInit Interface