IRepository Interface
See Also
When you define a tool information model, the classes, relationships, properties, and collections for the model are stored in a Repository. Multiple tool information models may be stored in the same Repository.
When to Use
Use the Repository interface to create and access Repository databases. You can also use the Repository interface to create and access Repository objects in a Repository database.
Methods
IUnknown Method |
Description |
QueryInterface |
Returns pointers to supported interfaces. |
AddRef |
Increments the reference count. |
Release |
Decrements the reference count. |
Idispatch Method |
Description |
GetIDsOfNames |
Maps a single member and a set of argument names to a corresponding set of dispatch identifiers. |
GetTypeInfo |
Retrieves a type information object, which can be used to get the type information for an interface. |
GetTypeInfoCount |
Retrieves the number of type information interfaces that an object provides (either 0 or 1). |
Invoke |
Provides access to properties and methods exposed by an Automation object. |
Irepository Method |
Description |
Create |
Creates a Repository database. |
CreateObject |
Creates a new Repository object. |
get_Object |
Retrieves the IRepositoryObject interface pointer for a Repository object. |
get_RootObject |
Retrieves the IRepositoryObject interface pointer for the root Repository object. |
get_Transaction |
Retrieves the IRepositoryTransaction interface pointer for this Repository instance. |
InternalIDToObjectID |
Translate an internal identifier to an object identifier. |
ObjectIDToInternalID |
Translate an object identifier to an internal identifier. |
Open |
Opens a Repository database. |
Refresh |
Refreshes unchanged cached Repository data. |