RegionFactory SetCachingEnabled Method Pivotal GemFire .NET Client Documentation
Set caching enabled flag for this region.

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

public RegionFactory SetCachingEnabled(
	bool cachingEnabled


Type: System Boolean
if true, cache data for this region in this process.

Return Value

the instance of RegionFactory

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