Creating and editing a tenant group
- Last Updated: February 11, 2026
- 1 minute read
- OpenEdge
- Version 13.0
- Documentation
The following code shows assignment of properties and creation
of a new tenant group. The service's NewTenantGroup( ) factory
method expects the name of the group. The Table, DefaultAllocation,
and each of the Default*Area properties are all
mandatory properties that need to be specified before the tenant
group can be passed to the CreateTenantGroup( ) service
method. The Default*Area properties are all defined
as instances of IArea, which must be known to,
and can be retrieved from, the service. This example sets the default
allocation to "Immediate" in order to allocate
the partitions according to the default areas when the tenant group
is created:
|
All writeable properties except Table can be
edited after the tenant group is created. The following code changes
the DefaultDataArea setting and sets DefaultAllocation to "None" in
order to be able to allocate partitions manually:
|