IRepository2 Interface

See Also

This interface exposes methods for manipulating object-version identifiers, plus other methods inherited from the IRepository interface.

When to Use

Use the IRepository2 interface to create and access Repository databases. You can also use the Repository interface to create and access Repository objects in a Repository database, and to manipulate Repository object versions.

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.

IRepository2 Method Description
InternalIDToVersionID Translate an internal object-version identifier to an object-version identifier.
get_Version Retrieves the IRepositoryObjectVersion interface pointer for a Repository object version.
VersionIDToInternalID Translate an object-version identifier to an internal object-version identifier.