IRubricator.Truncate

Syntax

Truncate;

Description

The Truncate method clears the time series database.

Comments

On executing the method:

Example

Executing the example requires that the repository contains a time series database with the TSBD identifier.

Add links to the Cubes and Metabase system assemblies.

Sub UserProc;
Var
    mb: IMetabase;
    rub: IRubricator;
Begin
    mb := MetabaseClass.Active;
    rub := mb.ItemById("TSDB").Bind As IRubricator;
    rub.Truncate;
End Sub UserProc;

After execution the time series database with will be cleared.

See also:

IRubricator