dbisavail

Determines whether a DBPROCESS structure is available for general use.

Syntax

BOOL dbisavail ( PDBPROCESS dbproc );

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

TRUE if DBPROCESS is available for general use; FALSE otherwise.

Remarks

dbisavail indicates whether the specified DBPROCESS structure is available for general use. When DBPROCESS is first opened, it is marked as being available until it is used. Many DB-Library functions automatically set DBPROCESS to “not available,” but only dbsetavail resets it to “available.” This facility is useful when several parts of an application are trying to share a single DBPROCESS structure.

See Also
dbsetavail  

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.