dbsetavail

Marks a DBPROCESS as being available for general use.

Syntax

void dbsetavail ( PDBPROCESS dbproc );

where

dbproc
Is the DBPROCESS structure that is the handle for a particular workstation/ SQL Server 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 the DBPROCESS. Many DB-Library functions automatically set the DBPROCESS to "not available." This is useful when many different parts of a program are attempting to share a single DBPROCESS.

See Also

DBISAVAIL