IServerAgentConnection.GetLocks

Syntax:

GetLocks(<Cluster>)

Parameters:

<Cluster> (required)

Type: IClusterInfo.
A server cluster that requires obtaining an array of registered Infobases. It can be obtained using the GetServerWorkingProcesses or CreateWorkingProcessInfo methods.

Returned value:

Type: COMSafeArray.
Array of object locks set by cluster clients. Each lock is represented by an object with the IObjectLock interface.

Description:

Obtains an array of locks set by cluster clients and stored in the cluster. It is required to authenticate one of the cluster administrators for the successful method execution. Provided lock information does not require Infobase user authentication.

Availability:

Integration.

    

1C:Enterprise Developer's Community