Datasnap.DSPlatform.TDSPlatform.GetDatabaseConnection
Delphi
class function GetDatabaseConnection(DBXContext: TDBXContext; ServerConnectionName: string; ConProperties: TDBXProperties ): TDBXConnection; static;
C++
static Data::Dbxcommon::TDBXConnection* __fastcall GetDatabaseConnection(Data::Dbxcommon::TDBXContext* DBXContext, System::UnicodeString ServerConnectionName, Data::Dbxcommon::TDBXProperties* ConProperties);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Datasnap.DSPlatform.pas Datasnap.DSPlatform.hpp |
Datasnap.DSPlatform | TDSPlatform |
Description
Returns a dbExpress connection.
The GetDatabaseConnection static method returns a dbExpress connection.
Call GetDatabaseConnection with the DBXContext
, ServerConnectionName
, and ConProperties
parameters.
DBXContext
represents context information for a dbExpress connection.
ServerConnectionName
is a string that represents the name of the connection to a dbExpress server.
ConProperties
is a parameter that specifies the properties of a connection to a dbExpress server.