ClassDef Class

Meta Data Services Programming

Meta Data Services Programming

ClassDef Class

When you define an information model in Microsoft® SQL Server™ 2000 Meta Data Services, 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 object classes that you define in your information model are represented by instances of the ClassDef class.

To insert a new class definition into an information model, use the ReposTypeLib class.

When to Use

Use the ClassDef class to complete the definition of a new repository class. You can define new interfaces and attach them to the class definition. You can also attach existing interfaces to the class definition.

Interfaces
Interface Description
IAnnotationalProps Gets and sets annotational properties
IClassDef Manages class definitions
IClassDef2 Manipulates the ScriptsUsedByClass collection
INamedObject Retrieves or sets the class name
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
IVersionAdminInfo2 Retains properties inherited from IVersionAdminInfo and sets or retrieves version comments
IViewClassDef Defines database views for a class

See Also

ClassDef Object

ReposTypeLib Class

RTIM Classes