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

In This Topic
    GetServerList() Method
    In This Topic
    Returns an array of available TNS aliases.
    Syntax
    'Declaration
     
    Public Function GetServerList() As String()
    public string[] GetServerList()

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