ArcObjects Library Reference (GeoDatabase)  

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,
  ITable** Table
);
[C++]

Parameters

Workspace [in]

  Workspace is a parameter of type IWorkspace

TableName [in]   TableName is a parameter of type BSTR Table [out, retval]

  Table is a parameter of type ITable

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