DataCache.RemoveRegion Method (String)


Deletes a region. All cached objects inside the region are also removed. Not supported in Windows Azure Shared Caching.

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

public bool RemoveRegion(
	string region


Type: System.String

The name of the region.

Return Value

Type: System.Boolean

Returns true if the region is removed. Returns false if the region does not exist.

Return to top