Interface Definition Objects

Meta Data Services Programming

Meta Data Services Programming

Interface Definition Objects

In Automation programs, each object exposes its properties, collections, and behaviors through interfaces. To have the instances of a class exhibit certain behaviors or have certain properties or collections, you implement the appropriate interface for that class.

The Repository Type Information Model (RTIM) accommodates such data by letting you describe interfaces. Each interface can have a set of classes that implements it, and each class can have a set of interfaces that it implements.

In a Microsoft® SQL Server™ 2000 Meta Data Services repository, an interface definition object exposes properties, an ancestors collection, a descendants collection, and a members collection. It also provides for interface implication and script support.

You can access an interface definition object from Automation or COM programs using the InterfaceDef object, the InterfaceDef class, or the IInterfaceDef or IInterfaceDef2 interfaces.

See Also

IInterfaceDef Interface

InterfaceDef Class

InterfaceDef Object

Repository Object Architecture