DataCache.Remove Method (String, String)
Removes an object from the cache in a region. This overload is not supported in Windows Azure Shared Caching.
Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)
Syntax
public bool Remove(
string key,
string region
)
public:
bool Remove(
String^ key,
String^ region
)
member Remove :
key:string *
region:string -> bool
Public Function Remove (
key As String,
region As String
) As Boolean
Parameters
key
Type: System.StringThe unique value that is used to identify the object in the region.
region
Type: System.StringThe name of the region the object resides in.
Return Value
Type: System.Boolean
True if the object is removed; otherwise, false.
See Also
Remove Overload
DataCache Class
Microsoft.ApplicationServer.Caching Namespace
Return to top