Skip to content

TConnectionDef.TypeName

Name of the connection type.

Declaration

Source position: sqldb.pp line 836

class function TConnectionDef.TypeName : string;  virtual;

Description

TypeName is overridden by descendent classes to return the unique name for this connection type. It is what the TSQLConnector.ConnectorType property should be set to select this connection type for the universal connection, and is the name that the GetConnectionDef call will use when looking for a connection type. It must be overridden by descendents of TConnectionDef.

This name is also returned in the list returned by GetConnectionList

This name can be an arbitrary name, no restrictions on the allowed characters exist.

See also

Name Description
TSQLConnector.ConnectorType Name of the connection type to use.
GetConnectionDef Search for a connection definition by name.
GetConnectionList Return a list of connection definition names.
TConnectionDef.ConnectionClass Class to instantiate when this connection is requested.