# GetLineageAsync Method

## Overloads

| [GetLineageAsync()](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetLineageAsync.htm#Qlik_Engine_App_GetLineageAsync) |  | Gets the lineage information of the app. The lineage information includes the LOAD and STORE statements from the data load script associated with this app.<br><br>An array of lineage information. |
| --- | --- | --- |
| [GetLineageAsync(AsyncHandle)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetLineageAsync.htm#Qlik_Engine_App_GetLineageAsync_Qlik_Engine_AsyncHandle_) |  | Gets the lineage information of the app. The lineage information includes the LOAD and STORE statements from the data load script associated with this app.<br><br>An array of lineage information. |
| [GetLineageAsync<T>(AsyncHandle, Func<Response, T>)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.GetLineageAsync.htm#Qlik_Engine_App_GetLineageAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__) |  | Gets the lineage information of the app. The lineage information includes the LOAD and STORE statements from the data load script associated with this app.<br><br>An array of lineage information. |

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

## GetLineageAsync()

Gets the lineage information of the app. The lineage information includes the LOAD and STORE statements from the data load script associated with this app.

An array of lineage information.

### Declaration

```

          public Task<IEnumerable<LineageInfo>> GetLineageAsync()
    
  
```

### Returns

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

### Implements

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

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

## GetLineageAsync(AsyncHandle)

Gets the lineage information of the app. The lineage information includes the LOAD and STORE statements from the data load script associated with this app.

An array of lineage information.

### Declaration

```

          public Task<IEnumerable<LineageInfo>> GetLineageAsync(AsyncHandle asyncHandle)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/November2024/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;[LineageInfo](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.LineageInfo.htm)&gt;&gt; |  |

### Implements

[IApp.GetLineageAsync(AsyncHandle)](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.GetLineageAsync.htm#Qlik_Engine_IApp_GetLineageAsync_Qlik_Engine_AsyncHandle_)

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

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

Gets the lineage information of the app. The lineage information includes the LOAD and STORE statements from the data load script associated with this app.

An array of lineage information.

### Declaration

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

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/November2024/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/November2024/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 |  |

### Implements

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