dotConnect for Oracle Documentation
Devart.Data.Oracle Namespace / OracleDataSourceEnumerator Class / GetDataSources Method / GetDataSources() Method

In This Topic
    GetDataSources() Method
    In This Topic
    Retrieves a DataTable containing information about all TNS aliases described in the default Oracle home.
    Syntax
    'Declaration
     
    Public Overloads Overrides NotOverridable Function GetDataSources() As DataTable
    public override DataTable GetDataSources()

    Return Value

    A DataTable containing information about all TNS aliases described in the default Oracle home.
    Remarks
    This method returns a DataTable with the following columns:
    Column Description
    InstanceName Description
    ServerName The name of the Oracle server.
    ServiceName The Oracle service name (SID)
    Protocol The protocol to use for connection.
    Port The port to connect to.
    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