IRepository Interface
When you define an information model, the classes, relationships, properties, and collections for the model are stored in a repository database. Multiple information models can 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 |
Translates an internal identifier to an object identifier. |
ObjectIDToInternalID |
Translates an object identifier to an internal identifier. |
Open |
Opens a repository database. |
Refresh |
Refreshes unchanged cached repository data. |
See Also
Connecting to and Configuring a Repository
IRepository2 Interface
Repository Class
Repository Databases