Share via


DataCacheItem.CacheName Property

The name of the cache where the object is stored.

Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Core (in microsoft.applicationserver.caching.core.dll)

Usage

'Usage
Dim instance As DataCacheItem
Dim value As String

value = instance.CacheName

Syntax

'Declaration
Public Property CacheName As String
public string CacheName { get; }
public:
property String^ CacheName {
    String^ get ();
}
/** @property */
public String get_CacheName ()
public function get CacheName () : String

Property Value

A string value that represents the name of the cache where the object is stored.

Remarks

The DataCacheItem class is especially useful for updating tags associated with the object and concurrency operations. For more information, see Tag-Based Methods (Velocity) and Concurrency Methods (Velocity).

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

DataCacheItem Class
DataCacheItem Members
Microsoft.ApplicationServer.Caching Namespace

  ff425062(v=azure.10).md 2011-08-26