LockAsync Method
Overloads
| LockAsync(String, IEnumerable<Int32>) | 
             Locks the selected values of a generic object.  | 
        
      
    |
| LockAsync(AsyncHandle, String, IEnumerable<Int32>) | 
             Locks the selected values of a generic object.  | 
        
      
    
LockAsync(String, IEnumerable<Int32>)
Locks the selected values of a generic object.
Declaration
      Task LockAsync([QixName("qPath")] string path, [QixName("qColIndices")] IEnumerable<int> colIndices = null)
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | path | 
           Path to the definition of the object.
For example,   | 
      
| System.Collections.Generic.IEnumerable<System.Int32> | colIndices | 
           Dimension numbers or dimension indexes where the lock should apply. Dimension numbers/indexes start from 0. If this parameter is not set, the selected values in all dimensions are locked.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task | 
LockAsync(AsyncHandle, String, IEnumerable<Int32>)
Locks the selected values of a generic object.
Declaration
      Task LockAsync(AsyncHandle asyncHandle, [QixName("qPath")] string path, [QixName("qColIndices")] IEnumerable<int> colIndices = null)
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| AsyncHandle | asyncHandle | 
           Handle to asynchronous method request  | 
      
| System.String | path | 
           Path to the definition of the object.
For example,   | 
      
| System.Collections.Generic.IEnumerable<System.Int32> | colIndices | 
           Dimension numbers or dimension indexes where the lock should apply. Dimension numbers/indexes start from 0. If this parameter is not set, the selected values in all dimensions are locked.  | 
      
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task |