| C1.DataEngine.4 Assembly > C1.DataEngine Namespace > Workspace Class > Clear Method : Clear(String,ClearFileType) Method |
'Declaration Public Overloads Sub Clear( _ ByVal tableName As System.String, _ Optional ByVal type As ClearFileType _ )
public void Clear( System.string tableName, ClearFileType type )
If ClearFileType.All is used (which is the default, meaning the table is removed from workspace), original table data and structure information for that table is deleted together with calculated data based on that table. Use it with caution. It can also be used creating a new table to ensure that it did not exist before.
Other ClearFileType flags (or their combinations) are used for manual disk cleanup, deleting data files created in calculations based on that table. Manual disk cleanup is an advanced feature. Use it only if the default automatic disk cleanup with KeepFiles property is not enough for your scenario.