Skip to content

TSQLConnection.GetConnectionInfo

Return some information about the connection.

Declaration

Source position: sqldb.pp line 312

public 
function TSQLConnection.GetConnectionInfo(InfoType: TConnInfoType)
                                          : string;  virtual;

Description

GetConnectionInfo can be used to return some information about the connection. Which information is returned depends on the InfoType parameter. The information is returned as a string. If citAll is passed, then the result will be a comma-separated list of values, each of the values enclosed in double quotes.

See also

Name Description
TConnInfoType Connection information to be retrieved.