RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDSProviderConnection.SetConnected Method

Changes the value of the Connected property.

Pascal
procedure SetConnected(Value: Boolean); override;
C++
virtual __fastcall SetConnected(Boolean Value);

SetConnected is the protected write implementation of the Connected property. Most descendants of TCustomConnection do not override this method to change the implementation of Connected. Instead, they override the DoConnect and DoDisconnect methods to change the way the connection is opened and closed. 

 

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