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


IRecordSet2.SaveAsTable Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRecordSet2 Interface > IRecordSet2.SaveAsTable Method
ArcGIS Developer Help

IRecordSet2.SaveAsTable Method

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

[Visual Basic .NET]
Public Function SaveAsTable ( _
    ByVal Workspace As IWorkspace, _
    ByVal TableName As String _
) As ITable
[C#]
public ITable SaveAsTable (
    IWorkspace Workspace,
    string TableName
);
[C++]
HRESULT SaveAsTable(
  IWorkspace* Workspace,
  BSTR TableName
);
[C++]
Parameters
Workspace [in]

Workspace is a parameter of type IWorkspace* TableName [in]
TableName is a parameter of type BSTR

Product Availability

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

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.

See Also

IRecordSet2 Interface