Forcefully unlocks a locked cached item.

Namespace: Alachisoft.NCache.Web.Caching
Assembly: Alachisoft.NCache.Web (in Alachisoft.NCache.Web.dll) Version: 4.3.0.0 (4.3.0.0)

Syntax

C#
public override void Unlock(
	string key
)
Visual Basic
Public Overrides Sub Unlock ( 
	key As String
)
Visual C++
public:
virtual void Unlock(
	String^ key
) override

Parameters

key
Type: System..::..String
key of a cached item to be unlocked

Examples

Following example demonstrates how to unlock a cached item.
 Copy imageCopy
...
theCache.Unlock("cachedItemKey");
...

See Also