IRubricator.Database

Syntax

Database: IRdsDatabase;

Description

The Database property determines the MDM repository that contains basic dictionaries necessary for working with a time series database.

Example

Executing the example requires that the repository contains a time series database with the NewCatalog identifier.

Sub UserProc;
Var
    Mb: IMetabase;
    Rubr: IRubricator;
    s: String;
Begin
    Mb := MetabaseClass.Active;
    Rubr := MB.ItemById("NewCatalog").Bind As IRubricator;
    s := (Rubr.Database As IMetabaseObject).Id;
End Sub UserProc;

After executing the example the "s" variable contains identifier of the MDM repository that stores basic dictionaries.

See also:

IRubricator