dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleHome Class / GetServerList() Method

GetServerList() Method
Returns an array of available TNS aliases.
Syntax
'Declaration
 
Public Function GetServerList() As String()
 

Return Value

An array of available TNS aliases.
Remarks
Use GetServerList() function to read TNS aliases from TNSNAMES.ORA configuration file found in the home directory.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also