Repository FreeConnection Method

See Also

This method frees an ODBC connection handle.

This property is not attached to the default interface for the Microsoft® 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.

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.