Home page  
Help >
NAPI tbdrv disconnect
Version 7.11

tbdrv_disconnect

 

Disconnects from (or closes) a database resource.

 

int        tbdrv_disconnect(

long lSessionHandle );

Parameters

lSessionHandle

            [in]

            Session handle returned from tbdrv_alloc_connect()

Return Code

SQLDRV_ERROR    

            A general error occurred.

 

SQLDRV_SUCCEED

            The call succeeded.

 

Extended error information is available via tbdrv_get_error()

Comments

When a connection to a database is no longer needed, free up any associated resources by calling tbdrv_disconnect().

Copyright © 2019 , WhamTech, Inc.  All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. Names may be trademarks of their respective owners.