IRepository Interface

See Also

When you define an information model, the classes, relationships, properties, and collections for the model are stored in a repository. Multiple information models may be stored in the same repository.

When to Use

Use the repository interface to create and access Microsoft® 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 Microsoft® 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.

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