GetDatabasesFromConnectionStringAsync Method
Overloads
| GetDatabasesFromConnectionStringAsync(Connection) |
Lists the databases in a ODBC, OLEDB or CUSTOM data source. |
|
| GetDatabasesFromConnectionStringAsync(AsyncHandle, Connection) |
Lists the databases in a ODBC, OLEDB or CUSTOM data source. |
|
| GetDatabasesFromConnectionStringAsync<T>(AsyncHandle, Func<Response, T>, Connection) |
Lists the databases in a ODBC, OLEDB or CUSTOM data source. |
GetDatabasesFromConnectionStringAsync(Connection)
Lists the databases in a ODBC, OLEDB or CUSTOM data source.
Declaration
public Task<IEnumerable<Database>> GetDatabasesFromConnectionStringAsync([QixName("qConnection")] Connection connection)
Parameters
| Type | Name | Description |
|---|---|---|
| Connection | connection |
Information about the connection. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Database>> |
Implements
GetDatabasesFromConnectionStringAsync(AsyncHandle, Connection)
Lists the databases in a ODBC, OLEDB or CUSTOM data source.
Declaration
public Task<IEnumerable<Database>> GetDatabasesFromConnectionStringAsync(AsyncHandle asyncHandle, [QixName("qConnection")] Connection connection)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| Connection | connection |
Information about the connection. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Database>> |
Implements
GetDatabasesFromConnectionStringAsync<T>(AsyncHandle, Func<Response, T>, Connection)
Lists the databases in a ODBC, OLEDB or CUSTOM data source.
Declaration
public Task<T> GetDatabasesFromConnectionStringAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qConnection")] Connection connection)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncHandle | asyncHandle |
Handle to asynchronous method request |
| System.Func<Response, T> | onResult |
Continuation function |
| Connection | connection |
Information about the connection. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T |