Method RemoveGroupData
RemoveGroupData(String)
Remove the data items pertaining to the specified group from cache.
Declaration
void RemoveGroupData(string group)
Parameters
Type | Name | Description |
---|---|---|
System.String | group | Name of group to be removed. |
Examples
Example demonstrates how you can remove an item from cache using its group.
ICache cache = CacheManager.GetCache("myCache");
cache.SearchService.RemoveGroupData("group_name");