# .ConnectionDatabases

Inherits .SubCollection in gb

This is a collection of all databases managed by the database server.

You may not see every database if the user you used to connect to the server do not have sufficient rights.

This class is virtual. You cannot use it as a datatype.

This class is not creatable.

This class acts like a read-only array.

`DIM hSubCollection AS .SubCollection DIM anObject AS Object anObject = hSubCollection [ Key AS String ]`

Returns a sub-object from its key.

This class is enumerable with the FOR EACH keyword.

`DIM hSubCollection AS .SubCollection DIM anObject AS Object FOR EACH anObject IN hSubCollection ... NEXT`

Enumerates all sub-objects included in the collection.

Properties |  | Methods |
--- | --- | --- | ---
Count Length |  | Add Exist Remove |