IRepositoryODBC::FreeConnection

See Also

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 via either the get_ReposConnection method or the GetNewConnection method before releasing your open Repository instance.