db4o

Db4o.openClient Method 

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.

[Visual Basic]
Shared Public Function openClient( _ 
   ByVal hostName As String, _ 
   ByVal port As Integer, _ 
   ByVal user As String, _ 
   ByVal password As String _ 
) As ObjectContainer
[C#]
public static ObjectContainer openClient(
   string hostName,
   int port,
   string user,
   string password
);
[C++]
public: static ObjectContainer* openClient(
   String* hostName,
   int port,
   String* user,
   String* password
);
[JScript]
public static function openClient(
   String hostName,
   int port,
   String user,
   String password
): ObjectContainer;

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

Db4o Class | com.db4o Namespace | com.db4o.ObjectServer.grantAccess