# GetOdbcDsnsAsync Method

## Overloads

| [GetOdbcDsnsAsync()](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.GetOdbcDsnsAsync.htm#Qlik_Engine_IHub_GetOdbcDsnsAsync) |  | Returns the list of the ODBC connectors that are installed in the system. |
| --- | --- | --- |
| [GetOdbcDsnsAsync(AsyncHandle)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.GetOdbcDsnsAsync.htm#Qlik_Engine_IHub_GetOdbcDsnsAsync_Qlik_Engine_AsyncHandle_) |  | Returns the list of the ODBC connectors that are installed in the system. |
| [GetOdbcDsnsAsync<T>(AsyncHandle, Func<Response, T>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.GetOdbcDsnsAsync.htm#Qlik_Engine_IHub_GetOdbcDsnsAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__) |  | Returns the list of the ODBC connectors that are installed in the system. |

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

## GetOdbcDsnsAsync()

Returns the list of the ODBC connectors that are installed in the system.

### Declaration

```

          Task<IEnumerable<OdbcDsn>> GetOdbcDsnsAsync()
    
  
```

### Returns

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

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

## GetOdbcDsnsAsync(AsyncHandle)

Returns the list of the ODBC connectors that are installed in the system.

### Declaration

```

          Task<IEnumerable<OdbcDsn>> GetOdbcDsnsAsync(AsyncHandle asyncHandle)
    
  
```

### 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 |

### Returns

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

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

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

Returns the list of the ODBC connectors that are installed in the system.

### Declaration

```
Task<T> GetOdbcDsnsAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult)
```

### 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 |

### Returns

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

### Type Parameters

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