# GetDatabaseTablesAsync Method

## Overloads

| [GetDatabaseTablesAsync(String, String, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetDatabaseTablesAsync.htm#Qlik_Engine_IApp_GetDatabaseTablesAsync_System_String_System_String_System_String_) |  | Lists the tables inside a database for a ODBC, OLEDB or CUSTOM connection. |
| --- | --- | --- |
| [GetDatabaseTablesAsync(AsyncHandle, String, String, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetDatabaseTablesAsync.htm#Qlik_Engine_IApp_GetDatabaseTablesAsync_Qlik_Engine_AsyncHandle_System_String_System_String_System_String_) |  | Lists the tables inside a database for a ODBC, OLEDB or CUSTOM connection. |
| [GetDatabaseTablesAsync<T>(AsyncHandle, Func<Response, T>, String, String, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetDatabaseTablesAsync.htm#Qlik_Engine_IApp_GetDatabaseTablesAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_System_String_System_String_) |  | Lists the tables inside a database for a ODBC, OLEDB or CUSTOM connection. |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetDatabaseTablesAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetDatabaseTablesAsync.htm)

## GetDatabaseTablesAsync(String, String, String)

Lists the tables inside a database for a ODBC, OLEDB or CUSTOM connection.

### Declaration

```

          Task<IEnumerable<DataTable>> GetDatabaseTablesAsync([QixName("qConnectionId")] string connectionId, [QixName("qDatabase")] string database = null, [QixName("qOwner")] string owner = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | connectionId | Identifier of the connection. |
| System.String | database | Name of the database.<br>If `qDatabase` is not set then `qOwner` must be set. |
| System.String | owner | Owner of the database.<br>If `qOwner` is not set then `qDatabase` must be set. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;System.Collections.Generic.IEnumerable&lt;[DataTable](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.DataTable.htm)&gt;&gt; |  |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetDatabaseTablesAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetDatabaseTablesAsync.htm)

## GetDatabaseTablesAsync(AsyncHandle, String, String, String)

Lists the tables inside a database for a ODBC, OLEDB or CUSTOM connection.

### Declaration

```

          Task<IEnumerable<DataTable>> GetDatabaseTablesAsync(AsyncHandle asyncHandle, [QixName("qConnectionId")] string connectionId, [QixName("qDatabase")] string database = null, [QixName("qOwner")] string owner = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.String | connectionId | Identifier of the connection. |
| System.String | database | Name of the database.<br>If `qDatabase` is not set then `qOwner` must be set. |
| System.String | owner | Owner of the database.<br>If `qOwner` is not set then `qDatabase` must be set. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;System.Collections.Generic.IEnumerable&lt;[DataTable](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.DataTable.htm)&gt;&gt; |  |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetDatabaseTablesAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetDatabaseTablesAsync.htm)

## GetDatabaseTablesAsync&lt;T&gt;(AsyncHandle, Func&lt;Response, T&gt;, String, String, String)

Lists the tables inside a database for a ODBC, OLEDB or CUSTOM connection.

### Declaration

```
Task<T> GetDatabaseTablesAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qConnectionId")] string connectionId, [QixName("qDatabase")] string database = null, [QixName("qOwner")] string owner = null)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.Func&lt;[Response](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt; | onResult | Continuation function |
| System.String | connectionId | Identifier of the connection. |
| System.String | database | Name of the database.<br>If `qDatabase` is not set then `qOwner` must be set. |
| System.String | owner | Owner of the database.<br>If `qOwner` is not set then `qDatabase` must be set. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;T&gt; |  |

### Type Parameters

| Name | Description |
| --- | --- |
| T |  |