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


IRecordSetInit.SetSourceTable Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IRecordSetInit.SetSourceTable Method

Sets the source table or feature class for a Recordset.

[Visual Basic .NET]
Public Sub SetSourceTable ( _
    ByVal Table As ITable, _
    ByVal QueryFilter As IQueryFilter _
)
[C#]
public void SetSourceTable (
    ITable Table,
    IQueryFilter QueryFilter
);
[C++]
HRESULT SetSourceTable(
  ITable* Table,
  IQueryFilter* QueryFilter
);
[C++]

Parameters Table [in]
Table is a parameter of type ITable QueryFilter [in]
QueryFilter is a parameter of type IQueryFilter

Product Availability

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

Remarks

When using a recordset class, the SetSourceTable property is used to set the source table or feature class for a Recordset.

See Also

IRecordSetInit Interface