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
)
Public Function RemoveTenant (
tenantId As Object
) As Boolean
Parameters
- tenantId
- Type: SystemObject
The ID of the tenant to dispose.
Return Value
Type:
Booleantrue if the tenant-collection was modified; otherwise,
false.
See Also