Initializes the Native Client system to be able to connect to the GemFire Java servers.

Namespace: GemStone.GemFire.Cache
Assembly:  GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 2.7.0.0

Syntax

C#
public static DistributedSystem Connect(
	string name,
	Properties config
)
Visual Basic (Declaration)
Public Shared Function Connect ( _
	name As String, _
	config As Properties _
) As DistributedSystem
Visual C++
public:
static DistributedSystem^ Connect (
	String^ name, 
	Properties^ config
)

Parameters

name
String
the name of the system to connect to
config
Properties
the set of properties

Exceptions

ExceptionCondition
GemStone.GemFire.Cache..::IllegalArgumentExceptionif name is null
GemStone.GemFire.Cache..::NoSystemException if the connecting target is not running
GemStone.GemFire.Cache..::AlreadyConnectedException if trying a second connect. An application can have one only one connection to a DistributedSystem.
GemStone.GemFire.Cache..::LicenseException if no valid license is found.
GemStone.GemFire.Cache..::UnknownExceptionotherwise

See Also