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