IRecordSet2 Interface

Provides access to the rows or features in a recordset.

Members

Name Description
Read-only property Cursor A cursor over the rows or features in the recordset.
Method DetachTable Detach Recordset from table and apply the subfield of QueryFilter.
Read-only property Fields The fields of the recordset.
Read-only property IsFeatureCollection Indicates if the recordset is a feature collection.
Method SaveAsTable Saves the recordset to a table of feature class in the provided workspace.
Read-only property Table The source table or feature class for the recordset.

IRecordSet2.DetachTable Method

Detach Recordset from table and apply the subfield of QueryFilter.

Public Sub DetachTable ( _
)
public 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.

IRecordSet2.SaveAsTable Method

Saves the recordset to a table of feature class in the provided workspace.

Public Function SaveAsTable ( _
    ByVal Workspace As IWorkspace, _
    ByVal TableName As String _
) As ITable
public ITable SaveAsTable (
    IWorkspace Workspace,
    string TableName
);

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.

Inherited Interfaces

Interfaces Description
IRecordSet Provides access to the rows or features in a recordset.

Classes that implement IRecordSet2

Classes Description
RecordSet Esri Record Set object.

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.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.