RegionFactorySetPersistenceManager Method (String, String) |
Sets the library path for the library that will be invoked for the persistence of the region.
If the region is being created from a client on a server, or on a server directly, then
This must be used to set the PersistenceManager.
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic RegionFactory SetPersistenceManager(
string libPath,
string factoryFunctionName
)
Public Function SetPersistenceManager (
libPath As String,
factoryFunctionName As String
) As RegionFactory
public:
RegionFactory^ SetPersistenceManager(
String^ libPath,
String^ factoryFunctionName
)
member SetPersistenceManager :
libPath : string *
factoryFunctionName : string -> RegionFactory
Parameters
- libPath
- Type: SystemString
The path of the PersistenceManager shared library. - factoryFunctionName
- Type: SystemString
The name of the factory function to create an instance of PersistenceManager object.
Return Value
Type:
RegionFactorythe instance of RegionFactory
See Also