# GetFolderItemsForConnectionAsync Method

## Overloads

| [GetFolderItemsForConnectionAsync(String, String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetFolderItemsForConnectionAsync.htm#Qlik_Engine_App_GetFolderItemsForConnectionAsync_System_String_System_String_) |  | Lists the items for a folder connection. |
| --- | --- | --- |
| [GetFolderItemsForConnectionAsync(AsyncHandle, String, String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetFolderItemsForConnectionAsync.htm#Qlik_Engine_App_GetFolderItemsForConnectionAsync_Qlik_Engine_AsyncHandle_System_String_System_String_) |  | Lists the items for a folder connection. |
| [GetFolderItemsForConnectionAsync<T>(AsyncHandle, Func<Response, T>, String, String)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetFolderItemsForConnectionAsync.htm#Qlik_Engine_App_GetFolderItemsForConnectionAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_String_System_String_) |  | Lists the items for a folder connection. |

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

## GetFolderItemsForConnectionAsync(String, String)

Lists the items for a folder connection.

### Declaration

```

          public Task<IEnumerable<FolderItem>> GetFolderItemsForConnectionAsync([QixName("qConnectionId")] string connectionId, [QixName("qRelativePath")] string relativePath = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | connectionId | Identifier of the connection. |
| System.String | relativePath | Relative path of the connection. |

### Returns

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

### Implements

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

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

## GetFolderItemsForConnectionAsync(AsyncHandle, String, String)

Lists the items for a folder connection.

### Declaration

```

          public Task<IEnumerable<FolderItem>> GetFolderItemsForConnectionAsync(AsyncHandle asyncHandle, [QixName("qConnectionId")] string connectionId, [QixName("qRelativePath")] string relativePath = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.String | connectionId | Identifier of the connection. |
| System.String | relativePath | Relative path of the connection. |

### Returns

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

### Implements

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

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

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

Lists the items for a folder connection.

### Declaration

```
public Task<T> GetFolderItemsForConnectionAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qConnectionId")] string connectionId, [QixName("qRelativePath")] string relativePath = null)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2025/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/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt; | onResult | Continuation function |
| System.String | connectionId | Identifier of the connection. |
| System.String | relativePath | Relative path of the connection. |

### Returns

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

### Type Parameters

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

### Implements

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