Get information about all clients connected to the specified cache of specified context, with specified node connected.

Namespace: Alachisoft.NCache.Web.Management
Assembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.3.0.0 (4.3.0.0)

Syntax

C#
public static Dictionary<ServerNode, List<CacheClient>> GetCacheClients(
	string cacheName,
	string initialNodeName,
	CacheContext context,
	int port
)
Visual Basic
Public Shared Function GetCacheClients ( 
	cacheName As String,
	initialNodeName As String,
	context As CacheContext,
	port As Integer
) As Dictionary(Of ServerNode, List(Of CacheClient))
Visual C++
public:
static Dictionary<ServerNode^, List<CacheClient^>^>^ GetCacheClients(
	String^ cacheName, 
	String^ initialNodeName, 
	CacheContext context, 
	int port
)

Parameters

cacheName
Type: System..::..String
Name of the cache
initialNodeName
Type: System..::..String
Name of any server node the specified cache, from which the cache information will be collected
context
Type: Alachisoft.NCache.Runtime.CacheManagement..::..CacheContext
Context of the cache
port
Type: System..::..Int32
Port where cache service will listen

Return Value

Type: Dictionary<(Of <(<'ServerNode, List<(Of <(<'CacheClient>)>)>>)>)>
Dictionary of ServerNode and CacheClient with detailed information of all client connected to each server node of the cache.

See Also