IGridManager Connect Method (ICatalogDomainInfo, String)IBM WebSphere™ eXtreme Scale Client for .NET API Specification
IBM WebSphere™ eXtreme Scale Client for .NET Release 8.6.0.0 API Specification

Connects a client process to the data grid using connection properties that are specified in the the configFilename.

Multiple invocations will produce additional connections. The IClientConnectionContext should be cached for the life of the application, and the Disconnect(IClientConnectionContext) method should be invoked to disconnect from the data grid.

Namespace: IBM.WebSphere.Caching
Assembly: Client.Api (in Client.Api.dll) Version: 8.6.0.0
Syntax

Parameters

catalogDomainInfo
Type: IBM.WebSphere.Caching ICatalogDomainInfo
Specifies the CatalogDomainInfo object that contains target catalog service domain information.
configFilename
Type: System String
Specifies the full path and file name of the client configuration file or null to use the default configuration.

Return Value

Returns an IClientConnectionContext object that represents a handle to the data grid to which the client is connected.
Exceptions

ExceptionCondition
System ArgumentException Occurs when a nullcatalogDomainInfo is specified.
IBM.WebSphere.Caching GridException Occurs if there is an error connecting to the specified catalog domain.
System.IO FileNotFoundException Occurs if configFilename does not exist.
See Also