ICubeMetaUpdateEx.Save

Syntax

Save(FileName: String);

Parameters

FileName. Name of the file, to which the time series database is replicated.

Description

The Save method replicates a time series database to 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 FC time series database is replicated to the C:\Replication.zip file.

See also:

ICubeMetaUpdateEx