שתף באמצעות


DataCacheFactoryConfiguration.LocalCacheProperties Property

Gets or sets the local cache settings for the cache client.

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

Usage

'Usage
Dim instance As DataCacheFactoryConfiguration
Dim value As DataCacheLocalCacheProperties

value = instance.LocalCacheProperties

instance.LocalCacheProperties = value

Syntax

'Declaration
Public Property LocalCacheProperties As DataCacheLocalCacheProperties
public DataCacheLocalCacheProperties LocalCacheProperties { get; set; }
public:
property DataCacheLocalCacheProperties^ LocalCacheProperties {
    DataCacheLocalCacheProperties^ get ();
    void set (DataCacheLocalCacheProperties^ value);
}
/** @property */
public DataCacheLocalCacheProperties get_LocalCacheProperties ()

/** @property */
public void set_LocalCacheProperties (DataCacheLocalCacheProperties value)
public function get LocalCacheProperties () : DataCacheLocalCacheProperties

public function set LocalCacheProperties (value : DataCacheLocalCacheProperties)

Property Value

A DataCacheLocalCacheProperties object.

Remarks

If this property is not set programmatically or is not configured in the application configuration file, local cache will be disabled.

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

DataCacheFactoryConfiguration Class
DataCacheFactoryConfiguration Members
Microsoft.ApplicationServer.Caching Namespace

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