IRepositoryODBC::FreeConnection

Meta Data Services Programming

Meta Data Services Programming

IRepositoryODBC::FreeConnection

This method frees an ODBC connection handle.

HRESULT FreeConnection(long   Hdbc);

Parameters

Hdbc

[in]
The ODBC connection handle to be released.

Return Value

S_OK

The method completed successfully.

Error Values

This method failed to complete successfully.

Remarks

Use this method to free the handle obtained through either the get_ReposConnection method or the GetNewConnection method before releasing an open repository instance.

See Also

IRepositoryODBC Interface

IRepositoryODBC::GetNewConnection

IRepositoryODBC::get_ReposConnection