Click or drag to resize

MultitenantContainerRemoveTenant Method

Removes the tenant configuration and disposes the associated lifetime scope.

Namespace:  Autofac.Multitenant
Assembly:  Autofac.Multitenant (in Autofac.Multitenant.dll) Version: 6.0.0+9a36082eb9b91dac82616d9efefa940b8c375948
Syntax
public bool RemoveTenant(
	Object tenantId
)

Parameters

tenantId
Type: SystemObject
The ID of the tenant to dispose.

Return Value

Type: Boolean
true if the tenant-collection was modified; otherwise, false.
See Also