Data.Win.ADODB.TRDSConnection.GetConnected
Delphi
function GetConnected: Boolean; override;
C++
virtual bool __fastcall GetConnected(void);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | Data.Win.ADODB.pas Data.Win.ADODB.hpp |
Data.Win.ADODB | TRDSConnection |
Description
Returns the value of the Connected property. {{#multireplace:Data.Win.ADODB.TRDSConnection.GetConnected|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DB.TCustomConnection.GetConnected|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.DB.TCustomConnection.GetConnected|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Returns the value of the Connected property.
GetConnected is the protected read implementation of the Connected property. Descendent classes override this method to return true if a connection is open and false otherwise. As defined in TCustomConnection, GetConnected always returns false.