Stops an out-proc cache. The end result is the same as that of stoping the cache using NCache Manager. It stops the cache only on the same server where the client application is running. If the Cache Server could not be contacted then it throws a ManagementException exception. It tries to get the Security Parameters from the Client.ncconf.

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 void StopCache(
	string cacheId
)
Visual Basic
Public Shared Sub StopCache ( 
	cacheId As String
)
Visual C++
public:
static void StopCache(
	String^ cacheId
)

Parameters

cacheId
Type: System..::..String
The identifier for the Cache item to stop.

See Also