IExportRequestParams.ExportMode

Syntax

ExportMode: CubeLoadClearMode;

Description

The ExportMode property determines a time series export mode.

Comments

If time series export mode is set, it is affected by value of the ExportMode property. For details see description of the IExportRequestParams.AutoPeriod property.

Example

Executing the example requires that the repository contains a time series database with the TSDB identifier containing an export object with the OBJ_EXPORTREQUEST identifier.

Add links to the Cubes and Metabase system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    RubKey: Integer;
    Obj: IMetabaseObject;
    ExportRequestDef: IExportRequestDefinition;
    Params: IExportRequestParams;
Begin
    // Get current repository
    MB := MetabaseClass.Active;
    // Get time series database key
    RubKey := MB.GetObjectKeyById("TSDB");
    // Get export object
    Obj := MB.ItemByIdNamespace("OBJ_EXPORTREQUEST", RubKey).Edit;
    // Get export parameters
    ExportRequestDef := Obj As IExportRequestDefinition;
    Params := ExportRequestDef.Exporter;
    // Specify that only point values are exported
    Params.ExportMode := CubeLoadClearMode.DataOnly;
    // Save changes
    Obj.Save;
End Sub UserProc;

After executing the example export mode is changed for the OBJ_EXPORTREQUEST export object.

See also:

IExportRequestParams