PreviousNext
Help > Easycom .NET > System.Data.EasycomClient namespace > EacConnection > EacConnection properties > EacConnection.Database
EacConnection.Database

 

public string Database [ get]

 

This property contains the IP address or name of the AS/400 to connect to. This is the same as the 'Server' entry in the EacConnection.ConnectionString property.

If this property contains a name instead of the IP address, the name will be solved using the standard TCP/IP host resolving process (using host table, DNS, …)

 

If no value is specified in this parameter, the default value is read from the easycom.ini file. And if no value is specified in the easycom.ini file a dialog box will prompt the user to enter a valid IP address or name. If the assembly is used in an NT service mode no dialog box will be shown, and an exception will come up showing the corresponding TCP/IP error (Easycom.Core.EasycomException).