DataCache.RemoveRegion Method
Deletes a region. All cached objects inside the region are also removed.
Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Client (in microsoft.applicationserver.caching.client.dll)
Usage
'Usage
Dim instance As DataCache
Dim region As String
Dim returnValue As Boolean
returnValue = instance.RemoveRegion(region)
Syntax
'Declaration
Public Function RemoveRegion ( _
region As String _
) As Boolean
public bool RemoveRegion (
string region
)
public:
bool RemoveRegion (
String^ region
)
public boolean RemoveRegion (
String region
)
public function RemoveRegion (
region : String
) : boolean
Parameters
- region
The name of the region.
Return Value
Returns true if the region is removed. Returns false if the region does not exist.
Remarks
For more information about regions, see Logical Model.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Visual Studio 2010 and later, .NET Framework 4
Target Platforms
Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2
See Also
Reference
DataCache Class
DataCache Members
Microsoft.ApplicationServer.Caching Namespace
ff425062(v=azure.10).md 2011-08-26