dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleConnection Class / GetServerList Method / GetServerList(String) Method
Name of the Oracle home to read TNS aliases from.

In This Topic
GetServerList(String) Method
In This Topic
Returns an array of available TNS aliases.
Syntax
'Declaration
 
Public Overloads Shared Function GetServerList( _
   ByVal homeName As String _
) As String()
 

Parameters

homeName
Name of the Oracle home to read TNS aliases from.

Return Value

An array of available TNS aliases.
Remarks
Use GetServerList(String) function to read TNS aliases from TNSNAMES.ORA configuration file found in specified Oracle home directory.
See Also