Set caching enabled flag for this region.

Namespace: GemStone.GemFire.Cache
Assembly:  GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 2.7.0.0

Syntax

C#
public void SetCachingEnabled(
	bool cachingEnabled
)
Visual Basic (Declaration)
Public Sub SetCachingEnabled ( _
	cachingEnabled As Boolean _
)
Visual C++
public:
void SetCachingEnabled (
	bool cachingEnabled
)

Parameters

cachingEnabled
Boolean
if true, cache data for this region in this process.

Remarks

If set to false, then no data is stored in the local process, but events and distributions will still occur, and the region can still be used to put and remove, etc...

The default if not set is 'true', 'false' is illegal for regions of ScopeType.Local scope.

See Also