Routines (alphabetical) > Object Classes > Miscellaneous Object Classes > IDLdbDatabase::GetDatasources

# IDLdbDatabase::GetDatasources

The IDLdbDatabase::GetDatasources function method returns an array of available datasources. You do not need to make a connection before calling this method.

Note: Not all drivers support the ability to return a list of available data sources.

## Syntax

Datasources = DBobj -> [IDLdbDatabase::]GetDatasources()

## Return Value

The GetDatasources method returns an array of IDL DataMiner structures with the following two fields:

- DATASOURCE: The name of the database driver
- DESCRIPTION: A description of the driver.

## Arguments

None.

## Keywords

None.

## Version History

5.0 | Introduced