Repository FreeConnection Method
From Meta Data Services Programming
Meta Data Services Programming
Repository FreeConnection Method
This method frees an ODBC connection handle.
This method is not attached to the default interface for the repository Automation object; it is attached to the IRepositoryODBC interface. For more information about accessing 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 application code or a tool interacts with a 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 the open repository instance.