Remove item from local cache and other remote cache listeners.
Namespace:
EPiServerAssembly: EPiServer (in EPiServer.dll) Version: 6.0.530.0
Syntax
| C# |
|---|
public static void RemoveLocalOnly( string key ) |
Parameters
- key
- Type: System..::.String
The cache key to remove
Remarks
This method will automatically forward updates of version numbers
to other machines. Do not use this method in loops, since every call could result
in a web service call to multiple machines. The recommended pattern when you have
multiple items that needs to be removed is to have a master dependency item that can
be removed instead, to trigger all items to be removed.