ILock interface | QSYS API Reference Guide
Defines the contract for managing a lock in the ASNA DataGate client.
Namespace: ASNA.DataGate.Client Assembly: ASNA.QSys.DataGate.Client.dll
Extends: doesn’t extend any other interfaces.
Remarks
This interface provides properties to manage a lock in the ASNA DataGate client. It includes properties to get the path of the locked object, the number of valid fields in the locked object, the ID, type, and subtype of the locked object, whether the lock is waiting, and the number of various types of locks on the object.
Properties
Type | Name | Description |
---|---|---|
Int32 | Exlusive | Gets the number of exclusive locks on the object. |
Int32 | ExlusiveRead | Gets the number of exclusive read locks on the object. |
Int32 | ObjectID | Gets the ID of the locked object. |
String | Path | Gets the path of the locked object. |
Int32 | ShareNoUpdate | Gets the number of shared no-update locks on the object. |
Int32 | ShareRead | Gets the number of shared read locks on the object. |
Int32 | ShareUpdate | Gets the number of shared update locks on the object. |
AdgSubTypes | SubType | Gets the subtype of the locked object. |
AdgObjectTypes | Type | Gets the type of the locked object. |
Int32 | ValidFields | Gets the number of valid fields in the locked object. |
Boolean | Waiting | Gets a value indicating whether the lock is waiting. |