ISessionServiceSwitchTenant Method  | 
 Switches the tenant of the current session.
 
    Namespace: 
   Dundas.BI.AccountServices
    Assembly:
   Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (25.3.0.1000)
SyntaxSession SwitchTenant(
	Guid? tenantId
)
Function SwitchTenant ( 
	tenantId As Guid?
) As Session
Session^ SwitchTenant(
	Nullable<Guid> tenantId
)
abstract SwitchTenant : 
        tenantId : Nullable<Guid> -> Session 
Parameters
- tenantId
 - Type: SystemNullableGuid
The ID of the tenant to switch into. 
Return Value
Type: 
SessionThe new session (which replaces the original session).
Exceptions
See Also