Skip to main content Skip to complementary content

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, /qListObjectDef .

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, /qListObjectDef .

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

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!