Table of Contents

TTenantPoolProvider.InvalidateShard Method

Drops the cached information and the connection pool of a shard, forcing the pool to be rebuilt on next use.

Remarks

Use it after changing the shard connection settings, for example after rotating credentials.

Syntax

Unit: Aurelius.Tenancy.Provider

procedure TTenantPoolProvider.InvalidateShard(const ShardId: string);

Parameters

<-> Parameter Type Description
const ShardId string The id of the shard to invalidate.

See also