FireDAC.Phys.Oracle.TFDPhysOracleDriverLink.TNSAdmin
Delphi
property TNSAdmin: String read FTNSAdmin write FTNSAdmin;
C++
__property System::UnicodeString TNSAdmin = {read=FTNSAdmin, write=FTNSAdmin};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | published | FireDAC.Phys.Oracle.pas FireDAC.Phys.Oracle.hpp |
FireDAC.Phys.Oracle | TFDPhysOracleDriverLink |
Description
Allows you to specify the TNS_ADMIN environment variable value.
Use the TNSAdmin property to specify the value of the Oracle client TNS_ADMIN environment variable.
When you have the Oracle full client installed, the best way to specify the TNS_ADMIN is to set the TNS_ADMIN registry value in HKLM\Software\Oracle\<Oracle home>. Otherwise, the default path <Oracle home folder>\NETWORK\Admin is used.
When you are working with an Oracle instant client, the best way is to use the TNSAdmin property. Otherwise, the default path is the application EXE folder.