IfxDataSourceEnumerator public methods

IfxDataSourceEnumerator.GetDataSources

Returns a DataTable. Each DataRecord in the DataTable represents a client server entry that is configured on the computer.

Table 1. Columns of System.Data.DataTable
Column name Ordinal position Description
IfxDatabaseServer 0 Name of the server instance. Multiple instances can exist on a single server.
HostComputer 1 Host entry in SQLHOSTS.
UserName 2 User name used to connect to the database.
PasswordOption 3 Password option as stored through SetNet32 for the host.
Password 4 Empty string.
Protocol 5 Protocol used for communication.
Service 6 Service name.
Option 7 Option field from SetNet32.