UniVerse connection strings

UniObjects for .NET

  • 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”, ”UVCS”);

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

Problems connecting?
Get answer in the UniVerse Q & A forum



.NET Framework Data Provider for OLE DB

  • 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.

IBM UniVerse ODBC Driver

  • Standard

    Driver={IBM UniVerse ODBC Driver};Server=servername;

.NET Framework Data Provider for ODBC

  • Use an ODBC driver from .NET

    Driver={any odbc driver's name};OdbcKey1=someValue;OdbcKey2=someValue;

    See the respective ODBC driver's connection strings options. The .net OdbcConnection will just pass on the connection string to the specified ODBC driver. Read more here.

Q&Aask question »

Articlesread all »


    Articlesread all »

    Didn't find your connection string?

    Start over from the connection string reference index - or try a search!

    In the Q&A forums you can ask your own question and let somebody help you.

    The knowledge articles contains solutions and guides.