DataCacheLocalCacheProperties.ObjectCount Property

Gets the maximum number of objects permitted in the local cache.

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

Usage

'Usage
Dim instance As DataCacheLocalCacheProperties
Dim value As Long

value = instance.ObjectCount

Syntax

'Declaration
Public ReadOnly Property ObjectCount As Long
public long ObjectCount { get; }
public:
property long long ObjectCount {
    long long get ();
}
/** @property */
public long get_ObjectCount ()
public function get ObjectCount () : long

Property Value

Returns Int64.

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