# GetDatabaseTableFieldsAsync Method

## Overloads

| [GetDatabaseTableFieldsAsync(String, String, String, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetDatabaseTableFieldsAsync.htm#Qlik_Engine_App_GetDatabaseTableFieldsAsync_System_String_System_String_System_String_System_String_) |  | Lists the fields inside a table of a database for a ODBC, OLEDB or CUSTOM connection. |
| --- | --- | --- |
| [GetDatabaseTableFieldsAsync(AsyncHandle, String, String, String, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetDatabaseTableFieldsAsync.htm#Qlik_Engine_App_GetDatabaseTableFieldsAsync_Qlik_Engine_AsyncHandle_System_String_System_String_System_String_System_String_) |  | Lists the fields inside a table of a database for a ODBC, OLEDB or CUSTOM connection. |
| [GetDatabaseTableFieldsAsync<T>(AsyncHandle, Func<Response, T>, String, String, String, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetDatabaseTableFieldsAsync.htm#Qlik_Engine_App_GetDatabaseTableFieldsAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_System_String_System_String_System_String_) |  | Lists the fields inside a table of a database for a ODBC, OLEDB or CUSTOM connection. |

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

## GetDatabaseTableFieldsAsync(String, String, String, String)

Lists the fields inside a table of a database for a ODBC, OLEDB or CUSTOM connection.

### Declaration

```

          public Task<IEnumerable<DataField>> GetDatabaseTableFieldsAsync([QixName("qConnectionId")] string connectionId, [QixName("qDatabase")] string database = null, [QixName("qOwner")] string owner = null, [QixName("qTable")] string table)
    
  
```

### 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. |
| System.String | table | Name of the table. |

### Returns

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

### Implements

[IApp.GetDatabaseTableFieldsAsync(String, String, String, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetDatabaseTableFieldsAsync.htm#Qlik_Engine_IApp_GetDatabaseTableFieldsAsync_System_String_System_String_System_String_System_String_)

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

## GetDatabaseTableFieldsAsync(AsyncHandle, String, String, String, String)

Lists the fields inside a table of a database for a ODBC, OLEDB or CUSTOM connection.

### Declaration

```

          public Task<IEnumerable<DataField>> GetDatabaseTableFieldsAsync(AsyncHandle asyncHandle, [QixName("qConnectionId")] string connectionId, [QixName("qDatabase")] string database = null, [QixName("qOwner")] string owner = null, [QixName("qTable")] string table)
    
  
```

### 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. |
| System.String | table | Name of the table. |

### Returns

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

### Implements

[IApp.GetDatabaseTableFieldsAsync(AsyncHandle, String, String, String, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetDatabaseTableFieldsAsync.htm#Qlik_Engine_IApp_GetDatabaseTableFieldsAsync_Qlik_Engine_AsyncHandle_System_String_System_String_System_String_System_String_)

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

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

Lists the fields inside a table of a database for a ODBC, OLEDB or CUSTOM connection.

### Declaration

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

### 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. |
| System.String | table | Name of the table. |

### Returns

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

### Type Parameters

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

### Implements

[IApp.GetDatabaseTableFieldsAsync<T>(AsyncHandle, Func<Response, T>, String, String, String, String)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetDatabaseTableFieldsAsync.htm#Qlik_Engine_IApp_GetDatabaseTableFieldsAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_System_String_System_String_System_String_)