Connection strings for UniData

UniOLEDB

Type OLE DB Provider
Usage Ardent.UniOLEDB
Manufacturer IBM

Standard

DATA SOURCE=myDataSource;LOCATION=myLocation;USER ID=myUsername;PASSWORD=myPassword;
 
 

UniObjects for .NET

Type .NET Framework Class Library
Usage IBMU2.UODOTNET.UniObjects.OpenSession
Manufacturer Rocket U2

Standard

There's no connection string for the UniSession class. Instead use the static OpenSession method of the UniObjects class.


UniSession us1 = UniObjects.OpenSession(“DENVER\\asmith”, ”username”, ”password”, “databaseAccount”, ”UDCS”);

The last parameter, UDCS, is what tells the object to connect to UniData (not UniVerse).

 
 

U2.Net

Type .NET Framework Class Library
Usage
Manufacturer IBM

Login profile format

Login=lpn;user=myUsername;password=myPassword;
 
 

Specifying location of the configuration database

Login=lpn;ConfigDBLocation=d:\folderWithConfigFolder;user=myUsername;
password=myPassword;
 
 

Server profile format

Server=spn;Account=apn;user=myUsername;password=myPassword;
 
 

.NET Framework Data Provider for OLE DB

Type .NET Framework Wrapper Class Library
Usage System.Data.OleDb.OleDbConnection
Manufacturer Microsoft

Use an OLE DB provider from .NET

Provider=any oledb provider's name;OledbKey1=someValue;OledbKey2=someValue;

See the respective OLEDB provider's connection strings options. The .net OleDbConnection will just pass on the connection string to the specified OLEDB provider. Read more here.

 
 

Popular