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
 

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