To be able to respond to events related to the state of the Repository Add-in for Visual Basic (RepVB), you must supply an MdoAddInEvents event sink object that implements these methods:
| Method | Description |
| RepositoryInvalid | Invoked when the Repository Add-in is switching to another repository. |
| Shutdown | Invoked when the Repository Add-in module is stopping. |
To begin receiving events, register your MdoAddInEvents event sink object with the ConnectAddInEvents Repository Add-in method.