Get health Information of 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 CacheHealth GetCacheHealth(
	string cacheName,
	string initialNodeName,
	CacheContext context
)
Visual Basic
Public Shared Function GetCacheHealth ( 
	cacheName As String,
	initialNodeName As String,
	context As CacheContext
) As CacheHealth
Visual C++
public:
static CacheHealth^ GetCacheHealth(
	String^ cacheName, 
	String^ initialNodeName, 
	CacheContext context
)

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

Return Value

Type: CacheHealth
Instance of the [!:CacheHealth] class with cache health information.

See Also