Removing a Data Group
To utilize the APIs, include the following namespace in your application:
Alachisoft.NCache.Web.Caching.
The data items pertaining to group Product
and sub group Beverages
is removed by
the RemoveGroupData
method.
string groupName = "Product";
string subGroupName = "Beverages";
try
{
cache.RemoveGroupData(groupName, subGroupName);
}
catch (Exception ex)
{
// handle exception
}