This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRecordSet2 Interface > IRecordSet2.SaveAsTable Method (ArcObjects .NET 10.5 SDK) |
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
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.