Interface IRecordSet2
- Namespace
- ESRI.ArcGIS.Geodatabase
- Assembly
- ESRI.Server.Geodatabase.dll
Provides access to the rows or features in a recordset.
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("2D6CB9CC-C6A0-437F-A431-9C9B7FDC4862")]
public interface IRecordSet2 : IRecordSet
Remarks
The IRecordset2 interface exposes methods and properties to perform geodatabase recordset operations, SaveAsTable as the result of a query to the table and DetachTable.
Properties
Cursor[bool]
ICursor Cursor[bool Recycling] { get; }
Parameters
Recyclingbool
Property Value
Fields
IFields Fields { get; }
Property Value
IsFeatureCollection
bool IsFeatureCollection { get; }
Property Value
Table
ITable Table { get; }
Property Value
Methods
DetachTable()
Detach Recordset from table and apply the subfield of QueryFilter.
void DetachTable()
Remarks
When using a record set, the DetachTable property is used to detach a recordset from a table and apply the subfield of a query filter.
SaveAsTable(IWorkspace, string)
Saves the recordset to a table of feature class in the provided workspace.
ITable SaveAsTable(IWorkspace Workspace, string TableName)
Parameters
WorkspaceIWorkspaceTableNamestring
Returns
Remarks
SaveAsTable will save the recordset into the specified table or feature class in the provided workspace. SaveAsTable supports Personal, File and ArcSDE geodatabases as well as shapefile workspaces.