# GetDatabaseTablePreview Method

## Overloads

| [GetDatabaseTablePreview(String, String, String, String, FilterInfo)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetDatabaseTablePreview.htm#Qlik_Engine_IApp_GetDatabaseTablePreview_System_String_System_String_System_String_System_String_Qlik_Engine_FilterInfo_) |  | Retrieves the values of the specified table of a database for a ODBC, OLEDB or CUSTOM connection. |
| --- | --- | --- |

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

## GetDatabaseTablePreview(String, String, String, String, FilterInfo)

Retrieves the values of the specified table of a database for a ODBC, OLEDB or CUSTOM connection.

### Declaration

```

          GetDatabaseTablePreviewResult GetDatabaseTablePreview([QixName("qConnectionId")] string connectionId, [QixName("qDatabase")] string database = null, [QixName("qOwner")] string owner = null, [QixName("qTable")] string table, [QixName("qConditions")] FilterInfo conditions = 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. |
| System.String | table | Name of the table. |
| [FilterInfo](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.FilterInfo.htm) | conditions |  |

### Returns

| Type | Description |
| --- | --- |
| [GetDatabaseTablePreviewResult](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GetDatabaseTablePreviewResult.htm) |  |