Add Classes to the Repository Type Library
According to the Repository Type Information Model (RTIM), you define a new object class by creating an instance of the ClassDef class.
To create a new class definition
- Use the CreateClassDef method of the IReposTypeLib interface that is exposed by your ReposTypeLib object.
Be sure the class identifier that you supply as an input parameter to this method matches the globally unique identification (GUID) of that class in the system registry.
Note Within the system registry, you can indicate which Automation server the repository engine uses to create instances of your new class. You can use the Automation server that the repository engine provides for all repository objects, or you can use your own server. For more information about deciding which kind of Automation server to use, see Information Model Creation Issues.