Access to repository methods and properties is supported at both the COM and Automation level.
For more information about creating and opening a repository database, see Connecting to and Configuring a Repository.
| To | Use |
|---|---|
| Create a new repository database and open it | The Create method of the Repository object, or use IRepository::Create. |
| Open an existing repository database | The Open method of the Repository object, or use IRepository::Open. |
| Retrieve repository error information | The standard Err Automation object, or use the methods of IRepositoryErrorQueueHandler, IRepositoryErrorQueue, and IEnumRepositoryErrors. |
| Manage transactions in the repository | The methods of the RepositoryTransaction object or the IRepositoryTransaction interface. To retrieve an interface pointer to the IRepositoryTransaction interface, use the Transaction property of the IRepository interface. |
IRepositoryTransaction Interface