IServerAgentConnection.TerminateSession

Syntax:

TerminateSession(<Cluster>, <Session>)

Parameters:

<Cluster> (required)

Type: IClusterInfo.
Cluster where the session should be deleted from. Should contain an object obtained by the GetClusters method.

<Session> (required)

Type: ISessionInfo.
Session that should be deleted. Should contain an object obtained by the GetSessions or GetInfoBaseSessions method.

Description:

Terminates a session. An attempt to access a server cluster on behalf of a terminated session will generate an exception.

Availability:

Integration.

    

1C:Enterprise Developer's Community