RemoveRegion Method

Deletes a region. All cached objects inside the region are also removed. Applies only to the server versions of AppFabric.

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.

For more information about regions, see <maml:externalLink><maml:linkText>Windows Server AppFabric Caching Logical Architecture Diagram</maml:linkText><maml:linkUri></maml:linkUri></maml:externalLink>.