שתף באמצעות


DataCacheLocalCacheProperties.IsEnabled Property

Gets a Boolean value indicating whether local cache is enabled for the cache client.

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

Usage

'Usage
Dim instance As DataCacheLocalCacheProperties
Dim value As Boolean

value = instance.IsEnabled

Syntax

'Declaration
Public ReadOnly Property IsEnabled As Boolean
public bool IsEnabled { get; }
public:
property bool IsEnabled {
    bool get ();
}
/** @property */
public boolean get_IsEnabled ()
public function get IsEnabled () : boolean

Property Value

Returns Boolean.

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

DataCacheLocalCacheProperties Class
DataCacheLocalCacheProperties Members
Microsoft.ApplicationServer.Caching Namespace

Other Resources

Cache Clients and Local Cache
Enable Local Cache

  2011-08-26