ITenantIdentificationStrategyTryIdentifyTenant Method |
Attempts to identify the tenant from the current execution context.
Namespace:
Autofac.Multitenant
Assembly:
Autofac.Multitenant (in Autofac.Multitenant.dll) Version: 6.0.0+9a36082eb9b91dac82616d9efefa940b8c375948
Syntax bool TryIdentifyTenant(
out Object tenantId
)
Function TryIdentifyTenant (
<OutAttribute> ByRef tenantId As Object
) As Boolean
Parameters
- tenantId
- Type: SystemObject
The current tenant identifier.
Return Value
Type:
Boolean if the tenant could be identified;
if not.
See Also