PyIExternalConnection.ReleaseConnection

int = ReleaseConnection(extconn, reserved , fLastReleaseCloses )

Decrements an object's count of its strong external connections (references).

Parameters

extconn : int

Type of external connection

reserved : int

A reserved parameter.

fLastReleaseCloses : int

TRUE specifies that if the connection being released is the last external lock on the object, the object should close. FALSE specifies that the object should remain open until closed by the user or another process.

Return Value

The result is the number of reference counts on the object; used for debugging purposes only.