TTenantRoutingCache.GetTenant Method
Returns the routing information of a tenant, from the cache or from the catalog.
Remarks
Raises ETenantNotFound if the tenant is not in the catalog and ETenantCatalogUnavailable if the catalog cannot be reached.
Syntax
Unit: Aurelius.Tenancy.Cache
function TTenantRoutingCache.GetTenant(const TenantId: string): TTenantInfo;
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| const | TenantId | string | The id of the tenant. |
Returns
The TTenantInfo of the tenant.