IServerAgentConnection.GetConnectionLocks
Syntax:
Parameters:
<Cluster> (required)
A server cluster used to obtain locks. A cluster array can be obtained by the GetClusters method.
<Connection> (required)
A description of the connection that has set the obtained locks. An array of connection descriptions can be obtained by the GetConnections method.
Returned value:
Array of object locks set by cluster clients. Each lock is represented by an object with the IObjectLock interface.
Description:
There can be three types of locks:
- Infobase locks are set when client application, COM-connections and other cluster clients are launched;
- objects locks are set when 1C:Enterprise objects are edited interactively or Lock methods are called;
- Number locks are set by 1C:Enterprise when a new number (code) is obtained automatically.
Availability: