Repository FreeConnection Method

See Also

This method frees an ODBC connection handle.

This property is not attached to the default interface for the Repository Automation object; it is attached to the IRepositoryODBC interface. For details on how to access a member of an interface that is not the default interface, see Accessing Automation Object Members.

Syntax

Call object.FreeConnection( hdbc )

The FreeConnection method syntax has the following parts.

Part Description
object The object that represents the open Repository instance through which this program is interacting with the Repository.
hdbc The ODBC connection handle to be released.

Remarks

Use this method to free the handle obtained via either the ReposConnection property or the GetNewConnection method before releasing your open Repository instance.