Summary
opens an
The server needs to
A client
Db4objects.Db4o.IObjectContainer
client and connects it to the specified named server and port.
The server needs to
Db4objects.Db4o.IObjectServer.GrantAccess(System.String,System.String)
for the specified user and password.
A client
Db4objects.Db4o.IObjectContainer
can be cast to
Db4objects.Db4o.Ext.IExtClient
to use extended
Db4objects.Db4o.Ext.IExtObjectContainer
and
Db4objects.Db4o.Ext.IExtClient
methods.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o - Containing Type
- Db4oFactory
Syntax
[System.ObsoleteAttribute(@"See the Db4objects.Db4o.CS.Db4oClientServer class in db4o client server library for methods to open db4o servers and db4o clients.")]
public static IObjectContainer OpenClient(IConfiguration config, string hostName, int port, string user, string password)
Attributes
Type | Description |
---|---|
ObsoleteAttribute |
Parameters
Name | Type | Description |
---|---|---|
config | IConfiguration |
a custom
Db4objects.Db4o.Config.IConfiguration
instance to be obtained via
Db4objects.Db4o.Db4oEmbedded.NewConfiguration
|
hostName | string | the host name |
port | int | the port the server is using |
user | string | the user name |
password | string | the user password |
Return Value
Type | Description |
---|---|
IObjectContainer |
an open
Db4objects.Db4o.IObjectContainer
|
See Also
- Db4objects.Db4o.IObjectServer.GrantAccess(System.String,System.String)