com.esri.arcgis.geodatabase
Interface ITableWrite2

All Superinterfaces:
ITableWrite, Serializable
All Known Implementing Classes:
ITableWrite2Proxy

public interface ITableWrite2
extends ITableWrite, Serializable

Provides access to members that control Low level Table Write. For use only by custom feature implementations that override Store.

Product Availability

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


Method Summary
 void truncate()
          Truncates all rows in the table.
 
Methods inherited from interface com.esri.arcgis.geodatabase.ITableWrite
deleteRows, insertRows, removeDeletedRows, removeRow, removeRows, updateRows, writeChangedRows, writeMovedRows, writeRotatedRows, writeRow, writeRows
 

Method Detail

truncate

void truncate()
              throws IOException,
                     AutomationException
Truncates all rows in the table.

Remarks

The truncate method is only available for local geodatabase datasets and non-versioned SDE feature classes and tables. This method will truncate the non-versioned table or feature class table. Since this method ignores any schma locks that might be present on the table it should be used with caution.

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.