# UnlockAsync Method

## Overloads

| [UnlockAsync(String, IEnumerable<Int32>)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.UnlockAsync.htm#Qlik_Engine_GenericObject_UnlockAsync_System_String_System_Collections_Generic_IEnumerable_System_Int32__) |  | Unlocks the selected values of a generic object if the target (or handle ) is a generic object |
| --- | --- | --- |
| [UnlockAsync(AsyncHandle, String, IEnumerable<Int32>)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.GenericObject.UnlockAsync.htm#Qlik_Engine_GenericObject_UnlockAsync_Qlik_Engine_AsyncHandle_System_String_System_Collections_Generic_IEnumerable_System_Int32__) |  | Unlocks the selected values of a generic object if the target (or handle ) is a generic object |

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

## UnlockAsync(String, IEnumerable&lt;Int32&gt;)

Unlocks the selected values of a generic object if the target (or handle ) is a generic object

### Declaration

```

          public Task UnlockAsync([QixName("qPath")] string path, [QixName("qColIndices")] IEnumerable<int> colIndices = null)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.String | path | Path to the definition of the object.<br>For example, `/qListObjectDef` . |
| System.Collections.Generic.IEnumerable&lt;System.Int32&gt; | colIndices | Dimension numbers/indexes where the unlock should apply.<br>Dimension numbers/indexes start from 0.<br>If this parameter is not set, the locked values in all dimensions are unlocked. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task |  |

### Implements

[IGenericObject.UnlockAsync(String, IEnumerable<Int32>)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericObject.UnlockAsync.htm#Qlik_Engine_IGenericObject_UnlockAsync_System_String_System_Collections_Generic_IEnumerable_System_Int32__)

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

## UnlockAsync(AsyncHandle, String, IEnumerable&lt;Int32&gt;)

Unlocks the selected values of a generic object if the target (or handle ) is a generic object

### Declaration

```

          public Task UnlockAsync(AsyncHandle asyncHandle, [QixName("qPath")] string path, [QixName("qColIndices")] IEnumerable<int> colIndices = 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 | path | Path to the definition of the object.<br>For example, `/qListObjectDef` . |
| System.Collections.Generic.IEnumerable&lt;System.Int32&gt; | colIndices | Dimension numbers/indexes where the unlock should apply.<br>Dimension numbers/indexes start from 0.<br>If this parameter is not set, the locked values in all dimensions are unlocked. |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task |  |

### Implements

[IGenericObject.UnlockAsync(AsyncHandle, String, IEnumerable<Int32>)](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IGenericObject.UnlockAsync.htm#Qlik_Engine_IGenericObject_UnlockAsync_Qlik_Engine_AsyncHandle_System_String_System_Collections_Generic_IEnumerable_System_Int32__)