Datasnap.DSPlatform.TDSPlatform.GetDatabaseConnection
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: public | |
| Source: Datasnap.DSPlatform.pas Datasnap.DSPlatform.hpp
| |
| Unit: Datasnap.DSPlatform | |
| Parent: TDSPlatform | |
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);
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.