DataCache.GetSystemRegionName Method (String)

 

Returns the system region name for the specified key. Not supported in Windows Azure Shared Caching.

Namespace:   Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

Syntax

public string GetSystemRegionName(
    string key
)
public:
String^ GetSystemRegionName(
    String^ key
)
member GetSystemRegionName : 
        key:string -> string
Public Function GetSystemRegionName (
    key As String
) As String

Parameters

  • key
    Type: System.String

    The key for which to find the associated system region.

Return Value

Type: System.String

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.

See Also

DataCache Class
Microsoft.ApplicationServer.Caching Namespace

Return to top