RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSQLConnection.DoDisconnect Method

Provides the interface for a method that terminates the connection.

Pascal
procedure DoDisconnect; override;
C++
virtual __fastcall DoDisconnect();

The Connected property uses DoDisconnect to close a connection. Descendant classes override the DoDisconnect method to drop a connection. As implemented in TCustomConnection, DoDisconnect does nothing. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!