ICubeMetaUpdateEx.Save

Syntax

Save(FileName: String);

Parameters

FileName. Name of the file to which the time series database is to be saved.

Description

The Save method saves a time series database to a file.

Comments

The method creates a ZIP archive that contains required files with information regarding the time series database and time series data. Indicate the path and the name of the file with the "zip" extension as the value of the FileName parameter.

Example

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

Sub UserProc;
Var
    Mb: IMetabase;
    RubUpdateEx: ICubeMetaUpdateEx;
    Rub: IRubricator;
Begin
    Mb := MetabaseClass.Active;
    RubUpdateEx := New CubeMetaUpdateClass.Create;
    Rub := Mb.ItemById("FC").Bind As IRubricator;
    RubUpdateEx.Rubricator := Rub;
    RubUpdateEx.Save("C:\Replication.zip");
End Sub UserProc;

After executing the example the time series database with the FC identifier is saved to the file C:\Replication.zip.

See also:

ICubeMetaUpdateEx