# SetLooselyCoupledVectorAsync Method

## Overloads

| [SetLooselyCoupledVectorAsync(IEnumerable<Byte>)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.SetLooselyCoupledVectorAsync.htm#Qlik_Engine_IApp_SetLooselyCoupledVectorAsync_System_Collections_Generic_IEnumerable_System_Byte__) |  | Sets a list of table states, one for each table.<br><br>The following states apply:<br><br>\* 0 The table is not loosely coupled.<br><br>\* 1 The table is loosely coupled.<br><br>\* 2 The table is loosely coupled and cannot be changed to another state using the Qlik Engine API. |
| --- | --- | --- |
| [SetLooselyCoupledVectorAsync(AsyncHandle, IEnumerable<Byte>)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.SetLooselyCoupledVectorAsync.htm#Qlik_Engine_IApp_SetLooselyCoupledVectorAsync_Qlik_Engine_AsyncHandle_System_Collections_Generic_IEnumerable_System_Byte__) |  | Sets a list of table states, one for each table.<br><br>The following states apply:<br><br>\* 0 The table is not loosely coupled.<br><br>\* 1 The table is loosely coupled.<br><br>\* 2 The table is loosely coupled and cannot be changed to another state using the Qlik Engine API. |
| [SetLooselyCoupledVectorAsync<T>(AsyncHandle, Func<Response, T>, IEnumerable<Byte>)](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IApp.SetLooselyCoupledVectorAsync.htm#Qlik_Engine_IApp_SetLooselyCoupledVectorAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__System_Collections_Generic_IEnumerable_System_Byte__) |  | Sets a list of table states, one for each table.<br><br>The following states apply:<br><br>\* 0 The table is not loosely coupled.<br><br>\* 1 The table is loosely coupled.<br><br>\* 2 The table is loosely coupled and cannot be changed to another state using the Qlik Engine API. |

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

## SetLooselyCoupledVectorAsync(IEnumerable&lt;Byte&gt;)

Sets a list of table states, one for each table.

The following states apply:

* 0 The table is not loosely coupled.
* 1 The table is loosely coupled.
* 2 The table is loosely coupled and cannot be changed to another state using the Qlik Engine API.

### Declaration

```

          Task<bool> SetLooselyCoupledVectorAsync([QixName("qv")] IEnumerable<byte> v)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Collections.Generic.IEnumerable&lt;System.Byte&gt; | v | The list of table states to set. A state will not be changed if already set to 2. |

### Returns

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

### Remarks

The last three values in the vector are for internal use.

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

## SetLooselyCoupledVectorAsync(AsyncHandle, IEnumerable&lt;Byte&gt;)

Sets a list of table states, one for each table.

The following states apply:

* 0 The table is not loosely coupled.
* 1 The table is loosely coupled.
* 2 The table is loosely coupled and cannot be changed to another state using the Qlik Engine API.

### Declaration

```

          Task<bool> SetLooselyCoupledVectorAsync(AsyncHandle asyncHandle, [QixName("qv")] IEnumerable<byte> v)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.Collections.Generic.IEnumerable&lt;System.Byte&gt; | v | The list of table states to set. A state will not be changed if already set to 2. |

### Returns

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

### Remarks

The last three values in the vector are for internal use.

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

## SetLooselyCoupledVectorAsync&lt;T&gt;(AsyncHandle, Func&lt;Response, T&gt;, IEnumerable&lt;Byte&gt;)

Sets a list of table states, one for each table.

The following states apply:

* 0 The table is not loosely coupled.
* 1 The table is loosely coupled.
* 2 The table is loosely coupled and cannot be changed to another state using the Qlik Engine API.

### Declaration

```
Task<T> SetLooselyCoupledVectorAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult, [QixName("qv")] IEnumerable<byte> v)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/November2025/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/November2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt; | onResult | Continuation function |
| System.Collections.Generic.IEnumerable&lt;System.Byte&gt; | v | The list of table states to set. A state will not be changed if already set to 2. |

### Returns

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

### Type Parameters

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

### Remarks

The last three values in the vector are for internal use.