Creates a subregion on the servers in the server-group with the given name and attributes. If a region already exists on a server, validates that the attributes are compatible. When the process returns, all servers in the group should have the region defined.

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

Syntax

C#
public void CreateServerSubRegion(
	string regionName,
	RegionAttributes attributes
)
Visual Basic (Declaration)
Public Sub CreateServerSubRegion ( _
	regionName As String, _
	attributes As RegionAttributes _
)
Visual C++
public:
void CreateServerSubRegion (
	String^ regionName, 
	RegionAttributes^ attributes
)

Parameters

regionName
String
new subregion name
attributes
RegionAttributes
subregion attributes

Exceptions

ExceptionCondition
GemStone.GemFire.Cache..::RegionExistsException if the specified attributes are not compatible with an already defined region
GemStone.GemFire.Cache..::TimeoutException if there is a timeout creating the server sub-region

See Also