OpenRevision(Name: String): IRubricatorRevision;
Name - name of created revision.
The OpenRevision method creates a new revision.
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: