RelationshipDef Class

See Also

When you define a tool information model in the Repository, you define classes of objects, types of relationships that can exist between objects, and various properties that are attached to these object classes and relationship types. The relationship types that you define in your tool information model are represented by instances of the RelationshipDef class.

When to Use

Use the RelationshipDef Class to access the properties of a relationship definition (also referred to as a relationship type).

To insert a new relationship type into a tool information model, use the ReposTypeLib class.

Interfaces

Interface Description
IAnnotationalProps Gets and sets annotational properties.
IClassDef Manages class definitions.
IRepositoryDispatch Provides enhanced dispatch support.
IRepositoryItem Manages Repository objects and relationships.
IRepositoryObject Retrieves Repository object identifiers.
IRepositoryObjectStorage Creates and loads Repository objects.
IReposTypeInfo Contains the collection of definition objects that are associated with an information model's Repository type library.

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.