Method RemoveGroupData
RemoveGroupData(String)
Remove the data items pertaining to the specified group from cache.
Declaration
[Obsolete("This API is deprecated and will be removed in a future release. This feature is being retired and will not be continued in future versions.", false)]
void RemoveGroupData(string group)
Parameters
Type | Name | Description |
---|---|---|
System. |
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("demoCache");
cache.SearchService.RemoveGroupData("group_name");