FlexPivot for WPF | ComponentOne
C1.DataEngine Assembly / C1.DataEngine Namespace / Workspace Class / Clear Method / Clear(String,ClearFileType) Method
Name of the table to delete.
Type of the data files to delete.

In This Topic
    Clear(String,ClearFileType) Method
    In This Topic
    Deletes data files of a table from disk.
    Syntax
    'Declaration
     
    Public Overloads Sub Clear( _
       ByVal tableName As String, _
       Optional ByVal type As ClearFileType _
    ) 
    public void Clear( 
       string tableName,
       ClearFileType type
    )

    Parameters

    tableName
    Name of the table to delete.
    type
    Type of the data files to delete.
    Remarks

    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.

    See Also