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()
    public static string[] GetServerList( 
       string homeName
    )

    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.
    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