db4o

Db4oFactory.OpenClient Method (String, Int32, String, String)

Operates just like Db4objects.Db4o.Db4oFactory.OpenClient , but uses the global db4o Configuration context. opens an ObjectContainer client and connects it to the specified named server and port.

The server needs to allow access for the specified user and password.

A client ObjectContainer can be cast to ExtClient to use extended ExtObjectContainer and ExtClient methods.

public static IObjectContainer OpenClient(
   string hostName,
   int port,
   string user,
   string password
);

Parameters

hostName
the host name
port
the port the server is using
user
the user name
password
the user password

Return Value

an open ObjectContainer

See Also

Db4oFactory Class | Db4objects.Db4o Namespace | Db4oFactory.OpenClient Overload List | Db4objects.Db4o.IObjectServer.GrantAccess