IMetabaseDefinitions.Count

Syntax

Count: Integer;

Description

The Count property returns the number of descriptions of the repositories that were registered on the workstation.

Example

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 the example the number of descriptions of the repositories registered in the manager of repositories, is displayed in the development environment console.

See also:

IMetabaseDefinitions