'Declaration Public Overloads Sub Clear( _ Optional ByVal type As ClearFileType _ )
public void Clear( ClearFileType type )
Parameters
- type
- Type of the data files to delete.
'Declaration Public Overloads Sub Clear( _ Optional ByVal type As ClearFileType _ )
public void Clear( ClearFileType type )
If ClearFileType.All is used (which is the default, meaning all tables are removed from workspace), all data and structure information is deleted, workspace is wiped clean. Use it with caution.
Other ClearFileType flags (or their combinations) are used for manual disk cleanup, deleting data files created in calculations. 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.