# SearchAssociationsAsync Method

## Overloads

| [SearchAssociationsAsync(SearchCombinationOptions, IEnumerable<String>, SearchPage)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.SearchAssociationsAsync.htm#Qlik_Engine_IApp_SearchAssociationsAsync_Qlik_Engine_SearchCombinationOptions_System_Collections_Generic_IEnumerable_System_String__Qlik_Engine_SearchPage_) |  | Returns the search matches for one or more search terms.<br><br>The search results depend on the search context.<br><br><br>`SearchCombinationOptions`<br><br>SearchMatchCombinations<br><br>Please refer to Engine API reference for table definition. |
| --- | --- | --- |
| [SearchAssociationsAsync(AsyncHandle, SearchCombinationOptions, IEnumerable<String>, SearchPage)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.SearchAssociationsAsync.htm#Qlik_Engine_IApp_SearchAssociationsAsync_Qlik_Engine_AsyncHandle_Qlik_Engine_SearchCombinationOptions_System_Collections_Generic_IEnumerable_System_String__Qlik_Engine_SearchPage_) |  | Returns the search matches for one or more search terms.<br><br>The search results depend on the search context.<br><br><br>`SearchCombinationOptions`<br><br>SearchMatchCombinations<br><br>Please refer to Engine API reference for table definition. |
| [SearchAssociationsAsync<T>(AsyncHandle, Func<Response, T>, SearchCombinationOptions, IEnumerable<String>, SearchPage)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.SearchAssociationsAsync.htm#Qlik_Engine_IApp_SearchAssociationsAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__Qlik_Engine_SearchCombinationOptions_System_Collections_Generic_IEnumerable_System_String__Qlik_Engine_SearchPage_) |  | Returns the search matches for one or more search terms.<br><br>The search results depend on the search context.<br><br><br>`SearchCombinationOptions`<br><br>SearchMatchCombinations<br><br>Please refer to Engine API reference for table definition. |

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

## SearchAssociationsAsync(SearchCombinationOptions, IEnumerable&lt;String&gt;, SearchPage)

Returns the search matches for one or more search terms.

The search results depend on the search context.

`SearchCombinationOptions`

#### SearchMatchCombinations

Please refer to Engine API reference for table definition.

### Declaration

```

          [Obsolete("Use _SearchResults_ method instead")]
Task<SearchAssociationResult> SearchAssociationsAsync([QixName("qOptions")] SearchCombinationOptions options, [QixName("qTerms")] IEnumerable<string> terms, [QixName("qPage")] SearchPage page)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [SearchCombinationOptions](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.SearchCombinationOptions.htm) | options | Information about the search fields and the search context. |
| System.Collections.Generic.IEnumerable&lt;System.String&gt; | terms | List of terms to search for. |
| [SearchPage](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.SearchPage.htm) | page | Array of pages to retrieve. |

### Returns

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

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

## SearchAssociationsAsync(AsyncHandle, SearchCombinationOptions, IEnumerable&lt;String&gt;, SearchPage)

Returns the search matches for one or more search terms.

The search results depend on the search context.

`SearchCombinationOptions`

#### SearchMatchCombinations

Please refer to Engine API reference for table definition.

### Declaration

```

          [Obsolete("Use _SearchResults_ method instead")]
Task<SearchAssociationResult> SearchAssociationsAsync(AsyncHandle asyncHandle, [QixName("qOptions")] SearchCombinationOptions options, [QixName("qTerms")] IEnumerable<string> terms, [QixName("qPage")] SearchPage page)
    
  
```

### 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 |
| [SearchCombinationOptions](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.SearchCombinationOptions.htm) | options | Information about the search fields and the search context. |
| System.Collections.Generic.IEnumerable&lt;System.String&gt; | terms | List of terms to search for. |
| [SearchPage](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.SearchPage.htm) | page | Array of pages to retrieve. |

### Returns

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

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

## SearchAssociationsAsync&lt;T&gt;(AsyncHandle, Func&lt;Response, T&gt;, SearchCombinationOptions, IEnumerable&lt;String&gt;, SearchPage)

Returns the search matches for one or more search terms.

The search results depend on the search context.

`SearchCombinationOptions`

#### SearchMatchCombinations

Please refer to Engine API reference for table definition.

### Declaration

```
[Obsolete("Use _SearchResults_ method instead")]
Task<T> SearchAssociationsAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qOptions")] SearchCombinationOptions options, [QixName("qTerms")] IEnumerable<string> terms, [QixName("qPage")] SearchPage page)
```

### 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 |
| [SearchCombinationOptions](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.SearchCombinationOptions.htm) | options | Information about the search fields and the search context. |
| System.Collections.Generic.IEnumerable&lt;System.String&gt; | terms | List of terms to search for. |
| [SearchPage](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.SearchPage.htm) | page | Array of pages to retrieve. |

### Returns

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

### Type Parameters

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