Save(FileName: String);
FileName. Name of the file to which the time series database is to be saved.
The Save method saves a time series database to a file.
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.
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: