TShardPerTenantAllocator.AllocateShard Method
Returns the tenant id as the shard id.
Syntax
Unit: Aurelius.Tenancy.Provisioning
function TShardPerTenantAllocator.AllocateShard(const Tenant: TTenantInfo; const Shards: TArray<TShardInfo>): string;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | Tenant | TTenantInfo | The tenant being provisioned. |
| const | Shards | TArray<TShardInfo> | The registered shards (ignored). |
Returns
The TenantId of the tenant.