Data.SqlExpr.TSQLConnection.GetDriverFunc

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property GetDriverFunc: string read FGetDriverFunc write FGetDriverFunc;

C++

__property System::UnicodeString GetDriverFunc = {read=FGetDriverFunc, write=FGetDriverFunc};

Properties

Type Visibility Source Unit Parent
property public
Data.SqlExpr.pas
Data.SqlExpr.hpp
Data.SqlExpr TSQLConnection

Description

This property is obsolete. It is no longer published and will not appear in the Object Inspector.

This property is kept for backwards compatibility and should not be used directly in applications; to specify another function for returning the top-level dbExpress driver, add a value to the GetDriverFunc key in the Params collection instead.

GetDriverFunc specifies the function that returns the top-level dbExpress driver.

GetDriverFunc is the name of a function in the dbExpress driver specified by the LibraryName property. The specified function returns the top-level dbExpress interface. Typically, this property is set to the function name that is stored in the dbxdrivers.ini file.

Note: The VendorLib, LibraryName, and GetDriverFunc properties all reflect the values in the dbxdrivers.ini file. Although these properties are editable in the Object Inspector, you should not modify their values directly. Instead, you can create your own driver in dbxdrivers.ini, and specify the correct values for these properties there. The values of the VendorLib, LibraryName, and GetDriverFunc properties are published (stored with the connection component), so it is possible to deploy an application without deploying the dbxdrivers.ini file.

See Also