Count: Integer;
The Count property returns the number of descriptions of the repositories that were registered on the workstation.
Sub Main;
Var
Man: IMetabaseManager;
Defs: IMetabaseDefinitions;
Def: IMetabaseDefinition;
Begin
Man := MetabaseManagerFactory.Active;
Defs := Man.Definitions;
Debug.WriteLine(Defs.Count);
End Sub Main;
After executing this example the number of descriptions of the repositories registered in the manager of repositories, is displayed in the development environment console.
See also: