NCache 4.6 - Online Documentation

Deleting Collection from Cache

Following is a code snippet for DeleteBulk in NCache. This method can be used to delete multiple items from cache in a single bulk call.
       To utilize the API, include the following namespace in your application: Alachisoft.NCache.Web.Caching.
        string[] keys = { "Product:1001", "Product:1002" };
            cache.DeleteBulk(keys, DSWriteOption.None, null);
        catch (OperationFailedException ex)
            // handle exception
See Also