Click or drag to resize
DistributedSystemConnect Method (String, Properties)
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: 9.0.6.18
Syntax
public static DistributedSystem Connect(
	string name,
	Properties config
)

Parameters

name
Type: SystemString
the name of the system to connect to
config
Type: GemStone.GemFire.CacheProperties
the set of properties

Return Value

Type: DistributedSystem
Exceptions
ExceptionCondition
IllegalArgumentExceptionif name is null
NoSystemException if the connecting target is not running
AlreadyConnectedException if trying a second connect. An application can have one only one connection to a DistributedSystem.
UnknownExceptionotherwise
See Also