NCache 4.4 - Online Documentation

Stop Cache

 
To stop a cache using Cache API, you need to include the following namespace in your application.
 
using Alachisoft.NCache.Web.Management;
 
Stopping a local cache
 
//stop the local cache
CacheManager.StopCache("CacheID","Server_Name");
 
Stopping a remote cache
 
//stop the remote cache
CacheManager.StopCache("CacheID","Server_Name");
 
 
See Also