DataCache.Remove Method (String, DataCacheItemVersion, String)
Assembly: Microsoft.ApplicationServer.Caching.Client (in microsoft.applicationserver.caching.client.dll)
public function Remove ( key : String, version : DataCacheItemVersion, region : String ) : boolean
The unique value that is used to identify the object in the region.
The DataCacheItemVersion object that represents the version of the cached object that is to be removed.
The name of the region the object resides in.
Return ValueTrue if the object is removed; otherwise, false.
This method supports optimistic concurrency by only removing the object having the DataCacheItemVersion value specified with the version parameter. If another process updates this object before the method call, the object is not removed. For more information about how to use this method, see How to: Remove an Object from Cache.