IServerAgentConnection.GetSessionLocks

Syntax:

GetSessionLocks(<Cluster>, <Session>)

Parameters:

<Cluster> (required)

Type: IClusterInfo.
Server cluster where locks should be obtained from. Should be obtained by the GetClusters method of the IServerAgentConnection object.

<Session> (required)

Type: ISessionInfo.
Session where object locks are specified. Should be obtained by the GetSessions or GetInfoBaseSessions method of the IServerAgentConnection object.

Returned value:

Type: COMSafeArray.
An array of IObjectLock objects.

Description:

Obtains cluster object locks established on behalf of a specified session.

Availability:

Integration.

    

1C:Enterprise Developer's Community