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)

Syntax

public bool RemoveRegion(
    string region
)
public:
bool RemoveRegion(
    String^ region
)
member RemoveRegion : 
        region:string -> bool
Public Function RemoveRegion (
    region As String
) As Boolean

Parameters

Return Value

Type: System.Boolean

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

See Also

DataCache Class
Microsoft.ApplicationServer.Caching Namespace

Return to top