Jaa


DataCache.GetSystemRegionName Method

Returns the system region name for the specified key.

Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Client (in microsoft.applicationserver.caching.client.dll)

Usage

'Usage
Dim instance As DataCache
Dim key As String
Dim returnValue As String

returnValue = instance.GetSystemRegionName(key)

Syntax

'Declaration
Public Overridable Function GetSystemRegionName ( _
    key As String _
) As String
public virtual string GetSystemRegionName (
    string key
)
public:
virtual String^ GetSystemRegionName (
    String^ key
)
public String GetSystemRegionName (
    String key
)
public function GetSystemRegionName (
    key : String
) : String

Parameters

  • key
    The key for which to find the associated system region.

Return Value

Returns the region name as a String.

Remarks

Note that this method only retrieves the region name for items added to the default region. This happens when you add items to the cache without specifying a named region. There is no way to currently retrieve the named region associated with a given key.

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