IRubricatorInstance.LabelRevisions

Syntax

LabelRevisions(Name: String): IRubricatorRevision;

Parameters

Name - name of label to be set.

Description

The LabelRevisions method enables the user to set label for a time series database revision.

Example

Executing the example requires a time series database with the OBJ_RUBRICATOR identifier.

Sub Main;

Var

MB: IMetabase;

RubDesc: IMetabaseObjectDescriptor;

RubrIn: IRubricatorInstance;

RubrRev: IRubricatorRevision;

Begin

MB := MetabaseClass.Active;

RubDesc := MB.ItemById("OBJ_RUBRICATOR");

RubrIn := RubDesc.Open(Null) As IRubricatorInstance;

RubrRev := RubrIn.LabelRevisions(New label);

RubrRev.Save;

End Sub Main;

After executing the example a revision label named New Label is created and saved for the time series database.

See also:

IRubricatorInstance