Skip to main content Skip to complementary content

List the databases of a ODBC, OLEDB or CUSTOM connection

List the databases of a ODBC, OLEDB or CUSTOM connection by using the GetDatabases method or the GetDatabasesFromConnectionString method.

Examples

Example 1:  

Example 2:  

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!