The IReposTypeLib2 interface inherits from the IReposTypeLib interface. It allows model creators to define dependencies between information models that are stored in a repository.
The interface IReposTypeLib2 adds two collections, DependsOn and UsedBy, which are connected through the ReposTypeLibDependency relationship. When an installation script for a repository type library is inserted into a repository database, the repository engine stores this information by using the DependsOn collection.
Note The engine does not automatically calculate the dependency information for models created using the repository API.
When to Use
Use the IReposTypeLib2 interface to define dependencies between type libraries in information models.