RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TIBDataBase.ForceClose Method

Forces the database connection to close.

Pascal
procedure ForceClose;
C++
__fastcall ForceClose();

Use ForceClose to force the database connection to close.

Note: Forcing a database to close attempts to close the connection to the server. Even if the call fails, the database handle is reset to nil (Delphi) or NULL (C++).
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!