Region GetServerKeys Method vFabric GemFire .NET Client Documentation
Returns the set of keys defined in the server process associated with this client and region. If a server has the region defined as a mirror, then this will be the entire keyset for the region across all server Peers in the distributed system.

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

public ICacheableKey[] GetServerKeys()

Return Value

array of keys
Exceptions

ExceptionCondition
GemStone.GemFire.Cache UnsupportedOperationException if the member type is not Client or region is not a Native Client region.
GemStone.GemFire.Cache CacheServerException If an exception is received from the Java cache server. Only for Native Client regions.
GemStone.GemFire.Cache NotConnectedException if not connected to the GemFire system because the client cannot establish usable connections to any of the servers given to it. For pools configured with locators, if no locators are available, innerException of NotConnectedException is set to NoAvailableLocatorsException.
GemStone.GemFire.Cache MessageException If the message received from server could not be handled. This will be the case when an unregistered typeId is received in the reply or reply is not well formed. More information can be found in the log.
GemStone.GemFire.Cache TimeoutException if there is a timeout getting the keys
See Also