Table of Contents

TTenantProvisioner.SetTenantStatus Method

Sets the status of a tenant and invalidates its cached routing information.

Remarks

Raises ETenantNotFound if the tenant is unknown. Nothing happens if the tenant already has the given status.

Syntax

Unit: Aurelius.Tenancy.Provisioning

procedure TTenantProvisioner.SetTenantStatus(const TenantId: string; Status: TTenantStatus);

Parameters

<-> Parameter Type Description
const TenantId string The id of the tenant.
Status TTenantStatus The new status.

See also