[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Assembly: Db4objects.Db4o (in Db4objects.Db4o.dll)
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.
Namespace: Db4objects.Db4o
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.
Assembly: Db4objects.Db4o (in Db4objects.Db4o.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function OpenClient ( _ hostName As String, _ port As Integer, _ user As String, _ password As String _ ) As IObjectContainer |
C# |
---|
public static IObjectContainer OpenClient ( string hostName, int port, string user, string password ) |
Visual C++ |
---|
public: static IObjectContainer^ OpenClient ( String^ hostName, int port, String^ user, String^ password ) |
Parameters
- hostName
- System.String
the host name
- port
- System.Int32
the port the server is using
- user
- System.String
the user name
- password
- System.String
the user password