abstract class %Net.DB.DataSourceThis class implements the IRIS Native API for Object Script DataSource interface. At this time that interface consists solely of the CreateConnection() method.
IRIS Native API for ObjectScript
The Native API for ObjectScript follows the API used on other language platforms. It starts with a static API that allows the user to connect to an IRIS Namespace, either local or remote, using an Iris Connection. The connection interface allows the user to then instantiate the IRIS Native API class (%Net.DB.Iris). That instance can then be used to access IRIS Global Arrays, manage transactions, invoke functions and methods implemented in routines or classes, and instantiate remote iterators.
|host||input||The host name or address, defaults to 127.0.0.1|
|port||input||The port on which to connect|
|namespace||input||The namespace to connect to|
|user||input||The user's name|
|timeout||input||The number of seconds to wait for the connection to be established. Optional.|
|logfile||input||The name of the file to be used for logging. If specified, connection activity will be logged to that file. Optional.|
|return||An oref referencing an instance of %Net.DB.Connection|