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

Recycling bool

Property Value

ICursor

Fields

IFields Fields { get; }

Property Value

IFields

IsFeatureCollection

bool IsFeatureCollection { get; }

Property Value

bool

Table

ITable Table { get; }

Property Value

ITable

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

Workspace IWorkspace
TableName string

Returns

ITable

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.