IDatabases¶
- class IDatabases¶
Bases:
ImpactCOMWrapperBase,Iterable- Description:
A collection of IDatabase objects.
Wraps a COM object or another wrapper instance. Accepts: - A valid impact_object - An existing impact_com_wrapper_base-derived instance
- property count¶
Gets Count.
- Description:
The number of items in this collection.
- Returns:
The value of Count.
- Return type:
count (int)
- create_connection(driver_type, connection_string)¶
- Description:
Creates a new IDatabaseConnection object for the specified database.
- Returns:
Introduced in Impact 11.0.0.35
- Parameters:
driver_type (str) – Driver type
connection_string (str) – Connection string
- item(index)¶
- Description:
Gets an IDatabase object with the specified connection name or index.
- Parameters:
index (any) – Specifies the connection name or index of the database to get.
- refresh()¶
- Description:
Refresh the IDatabases collection from the database.