dbsetavail

DB Library for C

DB Library for C

dbsetavail

Marks a DBPROCESS as being available for general use.

Syntax

void dbsetavail ( PDBPROCESS dbproc );

Arguments

dbproc

Is the DBPROCESS structure that is the handle for a particular workstation or Microsoft® SQL Server™ 2000 process. It contains all the information that DB-Library uses to manage communications and data between the workstation and SQL Server.

Remarks

Any subsequent call to dbisavail returns TRUE until some use is made of DBPROCESS. Many DB-Library functions automatically set DBPROCESS to "not available". This is useful when many different parts of a program are attempting to share a single DBPROCESS structure.

See Also

dbisavail