Active: IMetabase;
The Active property returns the data of the current repository.
Sub Main
Var
MB: IMetabase;
Begin
MB := MetabaseClass.Active;
Debug.WriteLine(MB.Name);
End Sub Main
After executing the example current repository name is displayed in the development environment console.
See also: