Table of Contents

TAureliusTenantCatalog.MoveTenantToShard Method

Points a tenant to another shard.

Remarks

Only the routing is changed; moving the tenant's data between shard databases is the application's responsibility.

Syntax

Unit: Aurelius.Comp.TenantCatalog

procedure TAureliusTenantCatalog.MoveTenantToShard(const TenantId: string; const NewShardId: string);

Parameters

<-> Parameter Type Description
const TenantId string The id of the tenant.
const NewShardId string The id of the destination shard.

See also