IRubricatorInstance.OpenRevision

Syntax

OpenRevision(Name: String): IRubricatorRevision;

Parameters

Name - name of created revision.

Description

The OpenRevision method creates a new 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.OpenRevision(New revision);

RubrRev.Save;

End Sub Main;

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

See also:

IRubricatorInstance