ArcObjects Library Reference (GeoDatabase)  

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