Working with databases

The AdminSession object also maintains a list of the user databases associated with the schema repository. If you know the name of the database, you can get its corresponding Database Object by calling the GetDatabase method. If you do not know the name of the database, you can iterate through the objects in the Databases method to find the one you want. You can also disassociate a user database from the schema repository by calling the DeleteDatabase method.