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


This connection string (Standard using UniObjects) can be used for connections to UniData.

Articlesread all »

Not the right connection string for you?

Start over in the connection string reference index.

You can also get help in the Q&A forums where you can ask your own question.

The kb articles contains how-tos and instructions and you can search for anything if you're not sure were to look.