This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRecordSetInit Interface > IRecordSetInit.SetSourceQueryDef Method (ArcObjects .NET 10.4 SDK) |
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
When using a recordset class, the SetSourceQueryDef property is used to sets the source QueryDef for a Recordset.