Share via


DataCache.ClearRegion Method

Deletes all objects in the specified region.

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

instance.ClearRegion(region)

Syntax

'Declaration
Public Sub ClearRegion ( _
    region As String _
)
public void ClearRegion (
    string region
)
public:
void ClearRegion (
    String^ region
)
public void ClearRegion (
    String region
)
public function ClearRegion (
    region : String
)

Parameters

  • region
    The name of the region whose objects are removed.

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