# GetDatabaseTables Method

## Overloads

| [GetDatabaseTables(String, String, String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetDatabaseTables.htm#Qlik_Engine_IApp_GetDatabaseTables_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.GetDatabaseTables.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetDatabaseTables.htm)

## GetDatabaseTables(String, String, String)

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

### Declaration

```

          IEnumerable<DataTable> GetDatabaseTables([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.Collections.Generic.IEnumerable&lt;[DataTable](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.DataTable.htm)&gt; |  |